-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
60 lines (52 loc) · 1.67 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
}
def des = rootProject.ext.dependencies
android {
compileSdk project.COMPILE_SDK_VERSION.toInteger()
defaultConfig {
minSdkVersion project.MIN_SDK_VERSION.toInteger()
targetSdkVersion project.TARGET_SDK_VERSION.toInteger()
applicationId "com.xxf.room.demo"
versionCode 1
versionName "1.0"
javaCompileOptions {
annotationProcessorOptions {
arguments += [
"room.schemaLocation":"$projectDir/schemas".toString(),
"room.incremental":"true",
"room.expandProjection":"true"]
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
// for view binding :
viewBinding = true
}
}
dependencies {
api des.material
implementation project(path: ':lib_adapter')
implementation project(path: ':lib_http')
//implementation "com.github.NBXXF:xxf_android:4.0.2"
def room_version = "2.3.0"
implementation("androidx.room:room-runtime:$room_version")
annotationProcessor "androidx.room:room-compiler:$room_version"
kapt("androidx.room:room-compiler:$room_version")
implementation "androidx.room:room-rxjava3:$room_version"
api des.rxJava
api des.rxAndroid
implementation("com.ibm.icu:icu4j:71.1")
}