Remove old Android Library setup
This commit is contained in:
parent
d6b5515ca2
commit
4744257821
1 changed files with 0 additions and 32 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue