add java toolchain setup

This commit is contained in:
InsanusMokrassar 2021-09-23 13:20:20 +06:00
parent e96207516f
commit d1c63deaec
2 changed files with 12 additions and 0 deletions

View File

@ -28,3 +28,9 @@ kotlin {
} }
} }
} }
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

View File

@ -49,4 +49,10 @@ kotlin {
} }
} }
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
apply from: "$defaultAndroidSettingsPresetPath" apply from: "$defaultAndroidSettingsPresetPath"