-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.gradle.kts
36 lines (30 loc) · 871 Bytes
/
build.gradle.kts
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
import com.android.build.gradle.LibraryExtension
plugins {
alias(libs.plugins.agp.lib) apply false
}
fun Project.configureBaseExtension() {
extensions.findByType(LibraryExtension::class)?.run {
namespace = "io.github.a13e300.magic_mount_standalone"
compileSdk = 34
ndkVersion = "27.0.12077973"
buildToolsVersion = "34.0.0"
defaultConfig {
minSdk = 25
}
lint {
checkReleaseBuilds = false
abortOnError = true
}
}
}
subprojects {
plugins.withId("com.android.library") {
configureBaseExtension()
}
plugins.withType(JavaPlugin::class.java) {
extensions.configure(JavaPluginExtension::class.java) {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
}