-
Notifications
You must be signed in to change notification settings - Fork 49
/
build.gradle
45 lines (40 loc) · 1.05 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
38
39
40
41
42
43
44
45
plugins {
id('com.android.library')
id('kotlin-android')
id('maven-publish')
id('signing')
}
android {
compileSdkVersion target_sdk
defaultConfig {
minSdkVersion 14
targetSdkVersion target_sdk
versionCode 1
versionName '2.0.0'
consumerProguardFiles 'consumer-rules.pro'
}
buildFeatures {
buildConfig = false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
compileOnly 'androidx.activity:activity-ktx:1.2.3'
compileOnly 'androidx.fragment:fragment-ktx:1.3.4'
def lifecycle_version = "2.3.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
}
ext {
POM_NAME = "RikkaX ViewModel Lazy"
POM_DESCRIPTION = "RikkaX ViewModel Lazy"
}