diff options
Diffstat (limited to 'sample')
-rw-r--r-- | sample/build.gradle | 23 | ||||
-rw-r--r-- | sample/src/main/res/xml/kau_changelog.xml | 2 |
2 files changed, 10 insertions, 15 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 } diff --git a/sample/src/main/res/xml/kau_changelog.xml b/sample/src/main/res/xml/kau_changelog.xml index 3eec313..cd6c41a 100644 --- a/sample/src/main/res/xml/kau_changelog.xml +++ b/sample/src/main/res/xml/kau_changelog.xml @@ -12,7 +12,7 @@ <item text="" /> <item text="Add Chinese, Indonesian, Norwegian, Polish, Thai, and Turkish translations" /> <item text="Add back git versioning" /> - <item text="" /> + <item text="Created gradle plugin for getting version updates" /> <item text="" /> <version title="v3.6.2" /> |