aboutsummaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rw-r--r--sample/build.gradle13
1 files changed, 7 insertions, 6 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index 9f2162f..ff25f50 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -1,4 +1,5 @@
import kau.Dependencies
+import kau.Versions
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
@@ -15,7 +16,7 @@ play {
}
android {
- compileSdkVersion kau.Versions.targetSdk
+ compileSdkVersion Versions.targetSdk
androidGitVersion {
codeFormat = 'MMNNPPXX'
@@ -24,8 +25,8 @@ android {
defaultConfig {
applicationId "ca.allanwang.kau.sample"
- minSdkVersion kau.Versions.minSdk
- targetSdkVersion kau.Versions.targetSdk
+ minSdkVersion Versions.minSdk
+ targetSdkVersion Versions.targetSdk
versionName androidGitVersion.name()
versionCode androidGitVersion.code()
multiDexEnabled true
@@ -90,12 +91,12 @@ android {
}
compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
+ sourceCompatibility Versions.java
+ targetCompatibility Versions.java
}
kotlinOptions {
- jvmTarget = JavaVersion.VERSION_1_8.toString()
+ jvmTarget = Versions.java.toString()
}
sourceSets {