-
Notifications
You must be signed in to change notification settings - Fork 0
/
common-lib-build.gradle
51 lines (40 loc) · 1.18 KB
/
common-lib-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
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: Plugins.detekt_plugin
apply plugin: Plugins.ktlint_plugin
android {
compileSdkVersion AndroidConfig.COMPILE_SDK_VERSION
defaultConfig {
minSdkVersion AndroidConfig.MIN_SDK_VERSION
targetSdkVersion AndroidConfig.TARGET_SDK_VERSION
versionCode 1
versionName "1.0"
testInstrumentationRunner AndroidConfig.TEST_INSTRUMENTATION_RUNNER
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion Versions.composeCompilerVersion
}
dependencies {
coreLibraryDesugaring(Libs.desugar_jdk)
}
kotlin {
jvmToolchain(11)
}
}