-
Notifications
You must be signed in to change notification settings - Fork 336
/
Copy pathbuild.gradle
68 lines (54 loc) · 1.9 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
61
62
63
64
65
66
67
68
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 32
defaultConfig {
applicationId "com.google.android.samples.dynamiccodeloading"
minSdkVersion 21
targetSdkVersion 32
versionCode 33
versionName "1.0.33"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
debugR8 {
initWith(debug)
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.debug
}
}
flavorDimensions "codeLoading"
productFlavors {
reflect {
dimension "codeLoading"
}
serviceLoader {
dimension "codeLoading"
}
dagger {
dimension "codeLoading"
}
}
dynamicFeatures = [":storage"]
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
api 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.core:core-ktx:1.16.0'
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
implementation "com.google.android.play:core:1.10.3"
daggerApi 'com.google.dagger:dagger:2.56.2'
api 'com.google.dagger:dagger-android-support:2.56.2'
kapt 'com.google.dagger:dagger-compiler:2.56.2'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation 'androidx.test:rules:1.6.1'
}