|
|
@ -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 = |
|
|
|