File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
build-tools/src/main/kotlin/com/fondesa/kpermissions/buildtools Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ class AndroidModulePlugin : Plugin<Project> {
39
39
buildToolsVersion = androidProperties.getProperty(" android.config.buildTools" )
40
40
defaultConfig.minSdk = androidProperties.getProperty(" android.config.minSdk" ).toInt()
41
41
compileOptions {
42
- sourceCompatibility = JavaVersion .VERSION_1_8
43
- targetCompatibility = JavaVersion .VERSION_1_8
42
+ sourceCompatibility = JavaVersion .VERSION_11
43
+ targetCompatibility = JavaVersion .VERSION_11
44
44
}
45
45
lint.warningsAsErrors = warningsAsErrors
46
46
testOptions.unitTests.apply {
@@ -54,7 +54,7 @@ class AndroidModulePlugin : Plugin<Project> {
54
54
}
55
55
tasks.withType(KotlinCompile ::class .java) { task ->
56
56
task.compilerOptions {
57
- jvmTarget.set(JvmTarget .JVM_1_8 )
57
+ jvmTarget.set(JvmTarget .JVM_11 )
58
58
allWarningsAsErrors.set(warningsAsErrors)
59
59
if (" UnitTest" !in task.name) {
60
60
freeCompilerArgs.add(" -Xexplicit-api=strict" )
You can’t perform that action at this time.
0 commit comments