diff options
Diffstat (limited to 'sample/build.gradle')
-rw-r--r-- | sample/build.gradle | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/sample/build.gradle b/sample/build.gradle index bfe5182..5bbdbb0 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -1,6 +1,3 @@ -plugins { - id 'com.gladed.androidgitversion' version '0.4.3' -} apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'com.github.triplet.play' @@ -14,8 +11,8 @@ play { } android { - compileSdkVersion Integer.parseInt(project.TARGET_SDK) - buildToolsVersion project.BUILD_TOOLS + compileSdkVersion kau.targetSdk + buildToolsVersion kau.buildTools androidGitVersion { codeFormat = 'MMNNPPXX' @@ -24,8 +21,8 @@ android { defaultConfig { applicationId "ca.allanwang.kau.sample" - minSdkVersion Integer.parseInt(project.MIN_SDK) - targetSdkVersion Integer.parseInt(project.TARGET_SDK) + minSdkVersion kau.minSdk + targetSdkVersion kau.targetSdk versionName androidGitVersion.name() versionCode androidGitVersion.code() multiDexEnabled true @@ -97,16 +94,14 @@ dependencies { implementation project(':kpref-activity') implementation project(':searchview') implementation project(':mediapicker') - implementation "com.mikepenz:google-material-typeface:${IICON_GOOGLE}.original@aar" - implementation "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN}" - androidTestImplementation("com.android.support.test.espresso:espresso-core:${ESPRESSO}") { + androidTestImplementation("com.android.support.test.espresso:espresso-core:${kau.espresso}") { exclude group: 'com.android.support', module: 'support-annotations' } - androidTestImplementation("com.android.support.test:runner:${TEST_RUNNER}") { + androidTestImplementation("com.android.support.test:runner:${kau.testRunner}") { exclude group: 'com.android.support', module: 'support-annotations' } - androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:${KOTLIN}" - testImplementation "org.jetbrains.kotlin:kotlin-test-junit:${KOTLIN}" - testImplementation "junit:junit:${JUNIT}" + androidTestImplementation kauDependency.kotlinTest + testImplementation kauDependency.kotlinTest + testImplementation kauDependency.junit } |