mirror of https://github.com/tuskyapp/Tusky.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
860 B
30 lines
860 B
plugins { |
|
alias(libs.plugins.android.application) apply false |
|
alias(libs.plugins.google.ksp) apply false |
|
alias(libs.plugins.hilt.android) apply false |
|
alias(libs.plugins.kotlin.android) apply false |
|
alias(libs.plugins.kotlin.parcelize) apply false |
|
alias(libs.plugins.ktlint) apply false |
|
alias(libs.plugins.licensee) apply false |
|
} |
|
|
|
allprojects { |
|
apply plugin: libs.plugins.ktlint.get().pluginId |
|
|
|
plugins.withType(JavaBasePlugin).configureEach { |
|
java { |
|
toolchain.languageVersion = JavaLanguageVersion.of(21) |
|
} |
|
} |
|
|
|
// Required for Hilt to use the toolchain |
|
tasks.withType(JavaCompile).configureEach { |
|
javaCompiler = javaToolchains.compilerFor { |
|
languageVersion = JavaLanguageVersion.of(21) |
|
} |
|
} |
|
} |
|
|
|
tasks.register('clean') { |
|
delete layout.buildDirectory |
|
}
|
|
|