-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
common-dynamic-feature.gradle
62 lines (49 loc) · 1.31 KB
/
common-dynamic-feature.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
apply plugin: 'com.android.dynamic-feature'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: "androidx.navigation.safeargs.kotlin"
android {
compileSdkVersion rootProject.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.minSdkVersion
targetSdkVersion rootProject.targetSdkVersion
versionName rootProject.appVersionName
versionCode rootProject.appVersionCode
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
buildTypes {
debug {
debuggable true
}
release {
debuggable false
}
}
sourceSets {
main {
res.srcDirs = ['src/main/res']
java.srcDirs = ['src/main/java', 'src/main/kotlin']
}
}
flavorDimensions "default"
productFlavors {
production {
dimension "default"
}
dev {
dimension "default"
}
}
buildFeatures.dataBinding = true
}
dependencies {
implementation project(":app")
}