-
Notifications
You must be signed in to change notification settings - Fork 0
/
android_commons.gradle
48 lines (37 loc) · 1.02 KB
/
android_commons.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
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin'
android {
compileSdkVersion Misc.compileSdk
buildFeatures {
viewBinding true
}
defaultConfig {
minSdkVersion Misc.minSdk
targetSdkVersion Misc.targetSdk
versionCode Releases.versionCode
versionName Releases.versionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs = ["-Xjvm-default=all"]
}
kapt {
correctErrorTypes true
}
androidExtensions { experimental = true }
buildTypes {
debug {
debuggable true
}
release {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}