Browse Source

Upgrade gradle plugins

master
Jannis Weis 4 months ago
parent
commit
d60dfaf331
No known key found for this signature in database
GPG Key ID: 7C9D8D4B558049AB
  1. 6
      build.gradle.kts
  2. 10
      gradle.properties

6
build.gradle.kts

@ -67,6 +67,9 @@ println("Building: Darklaf $buildVersion")
println(" JDK: " + System.getProperty("java.home")) println(" JDK: " + System.getProperty("java.home"))
println(" Gradle: " + gradle.gradleVersion) println(" Gradle: " + gradle.gradleVersion)
val githubAccessToken by props("")
val currentBranch = System.getenv("GITHUB_HEAD_REF") ?: grgit.branch.current()?.name
allprojects { allprojects {
group = "com.github.weisj" group = "com.github.weisj"
version = buildVersion version = buildVersion
@ -85,8 +88,6 @@ allprojects {
resolutionStrategy.cacheChangingModulesFor(0, "seconds") resolutionStrategy.cacheChangingModulesFor(0, "seconds")
} }
val githubAccessToken by props("")
plugins.withType<UsePrebuiltBinariesWhenUnbuildablePlugin> { plugins.withType<UsePrebuiltBinariesWhenUnbuildablePlugin> {
val failIfLibraryMissing by props(false) val failIfLibraryMissing by props(false)
prebuiltBinaries { prebuiltBinaries {
@ -97,7 +98,6 @@ allprojects {
repository = "darklaf", repository = "darklaf",
workflow = "libs.yml" workflow = "libs.yml"
) { ) {
val currentBranch = System.getenv("GITHUB_HEAD_REF") ?: grgit.branch.current()?.name
branches = listOfNotNull(currentBranch, "master", "v$projectVersion", projectVersion) branches = listOfNotNull(currentBranch, "master", "v$projectVersion", projectVersion)
accessToken = githubAccessToken accessToken = githubAccessToken
manualDownloadUrl = manualDownloadUrl =

10
gradle.properties

@ -11,11 +11,11 @@ systemProp.org.gradle.internal.publish.checksums.insecure = true
darklaf.version = 3.0.3 darklaf.version = 3.0.3
# Plugins # Plugins
com.github.vlsi.vlsi-release-plugins.version = 1.74 com.github.vlsi.vlsi-release-plugins.version = 1.90
com.diffplug.spotless.version = 6.10.0 com.diffplug.spotless.version = 6.25.0
org.ajoberstar.grgit.version = 4.1.0 org.ajoberstar.grgit.version = 5.2.2
ktlint.version = 0.46.0 ktlint.version = 1.3.1
net.ltgt.errorprone.version = 3.1.0 net.ltgt.errorprone.version = 4.0.1
# Dependencies # Dependencies
# Libraries # Libraries

Loading…
Cancel
Save