update gradle versions and publication scripts

This commit is contained in:
InsanusMokrassar 2023-11-02 17:59:22 +06:00
parent ef72365505
commit aa7bd6179a
4 changed files with 10 additions and 4 deletions

View File

@ -52,8 +52,8 @@ android {
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_17
} }
sourceSets { sourceSets {

View File

@ -1,7 +1,7 @@
[versions] [versions]
kotlin = "1.9.20" kotlin = "1.9.20"
kotlin-gradle-plugin = "7.4.2" kotlin-gradle-plugin = "8.1.2"
versions = "0.49.0" versions = "0.49.0"

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

@ -103,4 +103,10 @@ if (project.hasProperty("signing.gnupg.keyName")) {
dependsOn(it) dependsOn(it)
} }
} }
// Workaround to make android sign operations depend on signing tasks
project.getTasks().withType(AbstractPublishToMaven.class).configureEach {
def signingTasks = project.getTasks().withType(Sign.class)
mustRunAfter(signingTasks)
}
} }