set java toolchain version in all projects related to Java

This commit is contained in:
InsanusMokrassar 2021-09-19 20:50:24 +06:00
parent 7f8db6a29d
commit 88002ec8e7
3 changed files with 18 additions and 0 deletions

View File

@ -24,3 +24,9 @@ kotlin {
}
apply from: "$defaultAndroidSettingsPresetPath"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

View File

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

View File

@ -48,3 +48,9 @@ kotlin {
}
apply from: "$defaultAndroidSettingsPresetPath"
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}