mirror of
https://github.com/Jacekun/cs3xxx-repo.git
synced 2024-08-14 23:57:09 +00:00
support for sdk <24
This commit is contained in:
parent
9176ce91b9
commit
d8b094bcbd
1 changed files with 4 additions and 4 deletions
|
@ -43,18 +43,18 @@ subprojects {
|
||||||
compileSdkVersion(30)
|
compileSdkVersion(30)
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = 24
|
minSdk = 21
|
||||||
targetSdk = 30
|
targetSdk = 30
|
||||||
}
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = "11" // Required
|
jvmTarget = "1.8" // Required
|
||||||
// Disables some unnecessary features
|
// Disables some unnecessary features
|
||||||
freeCompilerArgs = freeCompilerArgs +
|
freeCompilerArgs = freeCompilerArgs +
|
||||||
"-Xno-call-assertions" +
|
"-Xno-call-assertions" +
|
||||||
|
|
Loading…
Reference in a new issue