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