Remove old Android Library setup

This commit is contained in:
Wolf Montwé 2023-02-16 10:49:24 +01:00
parent d6b5515ca2
commit 4744257821
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72

View file

@ -1,5 +1,3 @@
import com.android.build.gradle.BaseExtension
import com.android.build.gradle.LibraryPlugin
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
@Suppress("DSL_SCOPE_VIOLATION")
@ -64,36 +62,6 @@ allprojects {
}
}
plugins.withType<LibraryPlugin> {
configure<BaseExtension> {
compileSdkVersion(33)
defaultConfig {
minSdk = 21
targetSdk = 31
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
lintOptions {
isAbortOnError = false
lintConfig = file("${rootProject.projectDir}/config/lint/lint.xml")
}
testOptions {
unitTests {
isIncludeAndroidResources = true
}
}
}
}
plugins.withType<JavaPlugin> {
configure<JavaPluginExtension> {
sourceCompatibility = javaVersion