From d60dfaf3316eb8be4921ab78a5b4be9027fdae67 Mon Sep 17 00:00:00 2001 From: Jannis Weis <31143295+weisJ@users.noreply.github.com> Date: Wed, 17 Jul 2024 21:07:37 +0200 Subject: [PATCH] Upgrade gradle plugins --- build.gradle.kts | 6 +++--- gradle.properties | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index b088d9c3..7d6350ad 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -67,6 +67,9 @@ println("Building: Darklaf $buildVersion") println(" JDK: " + System.getProperty("java.home")) println(" Gradle: " + gradle.gradleVersion) +val githubAccessToken by props("") +val currentBranch = System.getenv("GITHUB_HEAD_REF") ?: grgit.branch.current()?.name + allprojects { group = "com.github.weisj" version = buildVersion @@ -85,8 +88,6 @@ allprojects { resolutionStrategy.cacheChangingModulesFor(0, "seconds") } - val githubAccessToken by props("") - plugins.withType { val failIfLibraryMissing by props(false) prebuiltBinaries { @@ -97,7 +98,6 @@ allprojects { repository = "darklaf", workflow = "libs.yml" ) { - val currentBranch = System.getenv("GITHUB_HEAD_REF") ?: grgit.branch.current()?.name branches = listOfNotNull(currentBranch, "master", "v$projectVersion", projectVersion) accessToken = githubAccessToken manualDownloadUrl = diff --git a/gradle.properties b/gradle.properties index 071cdb56..247eaa67 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,11 +11,11 @@ systemProp.org.gradle.internal.publish.checksums.insecure = true darklaf.version = 3.0.3 # Plugins -com.github.vlsi.vlsi-release-plugins.version = 1.74 -com.diffplug.spotless.version = 6.10.0 -org.ajoberstar.grgit.version = 4.1.0 -ktlint.version = 0.46.0 -net.ltgt.errorprone.version = 3.1.0 +com.github.vlsi.vlsi-release-plugins.version = 1.90 +com.diffplug.spotless.version = 6.25.0 +org.ajoberstar.grgit.version = 5.2.2 +ktlint.version = 1.3.1 +net.ltgt.errorprone.version = 4.0.1 # Dependencies # Libraries