aboutsummaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorAllan Wang <allanwang@google.com>2019-07-27 20:24:49 -0700
committerAllan Wang <allanwang@google.com>2019-07-27 20:24:49 -0700
commitcb88398bdd995339ca484721d422ba42e028d423 (patch)
treec49e76dc24cdb677f08c2f44ec96112d502dc356 /sample
parenta99e5885a8e67c2609b3c23dff069189c2e62dab (diff)
downloadkau-cb88398bdd995339ca484721d422ba42e028d423.tar.gz
kau-cb88398bdd995339ca484721d422ba42e028d423.tar.bz2
kau-cb88398bdd995339ca484721d422ba42e028d423.zip
Update dependency structure
Diffstat (limited to 'sample')
-rw-r--r--sample/build.gradle21
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt4
2 files changed, 13 insertions, 12 deletions
diff --git a/sample/build.gradle b/sample/build.gradle
index 1441cf0..9a3473d 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -1,3 +1,5 @@
+import kau.Dependencies
+
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
@@ -126,15 +128,16 @@ dependencies {
implementation project(':searchview')
implementation project(':mediapicker')
- implementation kau.Dependencies.materialDialog("input")
+ implementation Dependencies.materialDialog("input")
+ implementation Dependencies.fastAdapter("utils")
- testImplementation kau.Dependencies.kotlinTest
- testImplementation kau.Dependencies.junit
+ testImplementation Dependencies.kotlinTest
+ testImplementation Dependencies.junit
- androidTestImplementation kau.Dependencies.kotlinTest
- androidTestImplementation kau.Dependencies.espresso
- androidTestImplementation kau.Dependencies.espresso("intents")
- androidTestImplementation kau.Dependencies.espresso("contrib")
- androidTestImplementation kau.Dependencies.testRules
- androidTestImplementation kau.Dependencies.testRunner
+ androidTestImplementation Dependencies.kotlinTest
+ androidTestImplementation Dependencies.espresso
+ androidTestImplementation Dependencies.espresso("intents")
+ androidTestImplementation Dependencies.espresso("contrib")
+ androidTestImplementation Dependencies.testRules
+ androidTestImplementation Dependencies.testRunner
}
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt
index f6d5ccc..a5ef8c3 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt
@@ -45,9 +45,7 @@ class AnimActivity : KauBaseActivity() {
val adapter = FastItemAdapter<PermissionCheckbox>()
setContentView(fullLinearRecycler(adapter).apply {
setBackgroundColor(
- KPrefSample.bgColor.withAlpha(
- 255
- )
+ KPrefSample.bgColor.withAlpha(255)
)
})