aboutsummaryrefslogtreecommitdiff
path: root/sample/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-04-17 15:32:32 -0700
committerGitHub <noreply@github.com>2021-04-17 15:32:32 -0700
commit12f4725a90762aeeca8936b6449445e800b2f09a (patch)
tree584d1347abf542361c327519942080c75c16a889 /sample/build.gradle
parent3ec75195a25f6e502ceca7a89aa66f6313e263e6 (diff)
parent1057b6a113c7b2fa1320ce0378e34484f901ee2f (diff)
downloadkau-12f4725a90762aeeca8936b6449445e800b2f09a.tar.gz
kau-12f4725a90762aeeca8936b6449445e800b2f09a.tar.bz2
kau-12f4725a90762aeeca8936b6449445e800b2f09a.zip
Merge pull request #261 from AllanWang/versions
Diffstat (limited to 'sample/build.gradle')
-rw-r--r--sample/build.gradle11
1 files changed, 6 insertions, 5 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index a39ee2d..9f2162f 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -3,7 +3,7 @@ import kau.Dependencies
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
-apply plugin: 'kotlin-android-extensions'
+apply plugin: 'kotlin-parcelize'
//apply plugin: 'com.bugsnag.android.gradle'
apply plugin: 'com.github.triplet.play'
apply plugin: 'dagger.hilt.android.plugin'
@@ -31,8 +31,8 @@ android {
multiDexEnabled true
testInstrumentationRunner "ca.allanwang.kau.sample.SampleTestRunner"
}
- buildFeatures {
- viewBinding = true
+ viewBinding {
+ enabled true
}
def releaseSigning = file("../files/kau.properties")
@@ -86,6 +86,7 @@ android {
pickFirst 'META-INF/core_release.kotlin_module'
pickFirst 'META-INF/library_release.kotlin_module'
pickFirst 'META-INF/library-core_release.kotlin_module'
+ exclude "**/module-info.class"
}
compileOptions {
@@ -148,6 +149,6 @@ dependencies {
androidTestImplementation Dependencies.espresso("contrib")
androidTestImplementation Dependencies.testRules
androidTestImplementation Dependencies.testRunner
- testImplementation Dependencies.hiltTest
- kaptTest Dependencies.hiltCompiler
+ androidTestImplementation Dependencies.hiltTest
+ kaptAndroidTest Dependencies.hiltCompiler
}