parent
9eec1ab5c0
commit
c6f7ecdb5b
|
@ -94,13 +94,12 @@ android {
|
||||||
includeInApk false
|
includeInApk false
|
||||||
includeInBundle false
|
includeInBundle false
|
||||||
}
|
}
|
||||||
|
// Can remove this once https://issuetracker.google.com/issues/260059413 is fixed.
|
||||||
|
// https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_11
|
sourceCompatibility JavaVersion.VERSION_11
|
||||||
targetCompatibility JavaVersion.VERSION_11
|
targetCompatibility JavaVersion.VERSION_11
|
||||||
}
|
}
|
||||||
kotlinOptions {
|
|
||||||
jvmTarget = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
applicationVariants.configureEach { variant ->
|
applicationVariants.configureEach { variant ->
|
||||||
variant.outputs.configureEach {
|
variant.outputs.configureEach {
|
||||||
outputFileName = "Tusky_${variant.versionName}_${variant.versionCode}_${gitSha}_" +
|
outputFileName = "Tusky_${variant.versionName}_${variant.versionCode}_${gitSha}_" +
|
||||||
|
|
|
@ -8,6 +8,12 @@ plugins {
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
apply plugin: libs.plugins.ktlint.get().pluginId
|
apply plugin: libs.plugins.ktlint.get().pluginId
|
||||||
|
|
||||||
|
plugins.withType(JavaBasePlugin).configureEach {
|
||||||
|
java {
|
||||||
|
toolchain.languageVersion = JavaLanguageVersion.of(11)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('clean') {
|
tasks.register('clean') {
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
Loading…
Reference in New Issue