forked from lingochamp/FileDownloader
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
37 lines (33 loc) · 1015 Bytes
/
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
import com.android.build.gradle.api.AndroidBasePlugin
plugins {
id 'com.android.application' version '8.5.1' apply false
id 'com.android.library' version '8.5.1' apply false
id 'com.vanniktech.maven.publish' version '0.29.0' apply false
}
allprojects {
group = GROUP
version = VERSION_NAME
plugins.withType(JavaBasePlugin).configureEach {
java {
toolchain.languageVersion = JavaLanguageVersion.of(17)
}
}
plugins.withType(AndroidBasePlugin).configureEach {
android {
compileSdk 35
defaultConfig {
minSdk 9
targetSdk compileSdk
vectorDrawables.useSupportLibrary = true
}
lint {
abortOnError true
checkReleaseBuilds false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
}
}