-
Notifications
You must be signed in to change notification settings - Fork 21
/
build.gradle
37 lines (32 loc) · 1.1 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'com.google.devtools.ksp'
id 'lich-library-android'
}
lichLibrary {
version = VERSION_NAME_VIEWMODEL
name = 'Lich ViewModel (main)'
description = 'Lightweight framework for managing ViewModels.'
url = 'https://github.com/line/lich/tree/master/viewmodel'
}
android {
compileSdk libs.versions.compileSdk.get().toInteger()
defaultConfig {
minSdk 14
targetSdk libs.versions.targetSdk.get().toInteger()
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
}
dependencies {
api libs.kotlin.coroutines.android
api libs.androidx.lifecycle.viewmodel.savedstate
implementation libs.androidx.activity
compileOnly libs.androidx.fragment
compileOnly libs.androidx.navigation.fragment
lintPublish project(':static-analysis')
androidTestImplementation project(':savedstate')
kspAndroidTest project(':savedstate-compiler')
androidTestImplementation libs.bundles.test.instrumentation
androidTestImplementation libs.androidx.fragment.ktx
}