63 lines
No EOL
1.9 KiB
Groovy
63 lines
No EOL
1.9 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion 25
|
|
buildToolsVersion "26.0.0"
|
|
|
|
defaultConfig {
|
|
applicationId "net.thauvin.erik.android.tesremoteprogrammer"
|
|
minSdkVersion 21
|
|
targetSdkVersion 25
|
|
versionCode 1
|
|
versionName "1.0"
|
|
buildConfigField "long", "TIMESTAMP", System.currentTimeMillis() + "L"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
|
|
compile 'com.android.support:support-v13:25.3.1'
|
|
compile 'com.android.support:appcompat-v7:25.3.1'
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
compile 'org.jetbrains.anko:anko-sdk23:0.10.1'
|
|
compile 'org.jetbrains.anko:anko-appcompat-v7:0.10.1'
|
|
compile 'org.jetbrains.anko:anko-support-v4:0.10.1'
|
|
compile 'org.jetbrains.anko:anko-design:0.10.1'
|
|
compile 'com.android.support:design:25.3.1'
|
|
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.1'
|
|
|
|
// https://github.com/JakeWharton/ViewPagerIndicator
|
|
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'
|
|
|
|
// https://github.com/AndroidDeveloperLB/AutoFitTextView
|
|
compile 'com.github.AndroidDeveloperLB:AutoFitTextView:4'
|
|
|
|
// https://github.com/hotchemi/PermissionsDispatcher
|
|
compile 'com.github.hotchemi:permissionsdispatcher:2.2.0'
|
|
kapt 'com.github.hotchemi:permissionsdispatcher-processor:2.2.0'
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
kapt {
|
|
generateStubs = true
|
|
} |