-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.gradle
45 lines (34 loc) · 1 KB
/
common.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
android {
compileSdk 35
defaultConfig {
targetSdk 35
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildTypes {
configureEach {
buildConfigField "String", "VERSION", "\"${property("VERSION_NAME")}\""
}
}
kotlinOptions {
jvmTarget = '1.8'
}
lint {
abortOnError true
warningsAsErrors true
disable 'GradleDependency' // Updated dependencies should not fail the build
disable 'DataExtractionRules' // We don't want the dev apps to use backup
disable 'IconMissingDensityFolder' // Using scaled down launcher icon is fine for dev-apps
}
buildFeatures {
buildConfig true
}
}
dependencies {
implementation(libs.core.ktx)
implementation(libs.kotlinx.coroutines)
testImplementation(libs.kotlinx.coroutines.test)
}