|
@ -98,6 +98,7 @@ plugins { |
|
|
alias(libs.plugins.shadow) |
|
|
alias(libs.plugins.shadow) |
|
|
alias(libs.plugins.runtime) |
|
|
alias(libs.plugins.runtime) |
|
|
alias(libs.plugins.gitarchive.tomarkdown).apply(false) |
|
|
alias(libs.plugins.gitarchive.tomarkdown).apply(false) |
|
|
|
|
|
alias(libs.plugins.versions) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
repositories { |
|
|
repositories { |
|
@ -218,6 +219,30 @@ tasks.register<org.openrndr.extra.gitarchiver.GitArchiveToMarkdown>("gitArchiveT |
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------------ // |
|
|
// ------------------------------------------------------------------------------------------------------------------ // |
|
|
|
|
|
|
|
|
|
|
|
tasks { |
|
|
|
|
|
|
|
|
|
|
|
dependencyUpdates { |
|
|
|
|
|
|
|
|
|
|
|
gradleReleaseChannel = "current" |
|
|
|
|
|
|
|
|
|
|
|
val nonStableKeywords = listOf("alpha", "beta", "rc") |
|
|
|
|
|
|
|
|
|
|
|
fun isNonStable( |
|
|
|
|
|
version: String |
|
|
|
|
|
) = nonStableKeywords.any { |
|
|
|
|
|
version.lowercase().contains(it) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
rejectVersionIf { |
|
|
|
|
|
isNonStable(candidate.version) && !isNonStable(currentVersion) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------------------------ // |
|
|
|
|
|
|
|
|
class Openrndr { |
|
|
class Openrndr { |
|
|
val openrndrVersion = libs.versions.openrndr.get() |
|
|
val openrndrVersion = libs.versions.openrndr.get() |
|
|
val orxVersion = libs.versions.orx.get() |
|
|
val orxVersion = libs.versions.orx.get() |
|
|