build updates
This commit is contained in:
parent
1c02da5116
commit
33c51967e2
6 changed files with 5 additions and 9 deletions
|
|
@ -1,10 +1,8 @@
|
|||
import ca.stellardrift.build.configurate.ConfigFormats
|
||||
import ca.stellardrift.build.configurate.catalog.PolyglotVersionCatalogExtension
|
||||
|
||||
enableFeaturePreview("VERSION_CATALOGS")
|
||||
|
||||
plugins {
|
||||
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.0"
|
||||
id("ca.stellardrift.polyglot-version-catalogs") version "5.0.1"
|
||||
}
|
||||
|
||||
extensions.configure<PolyglotVersionCatalogExtension> {
|
||||
|
|
|
|||
|
|
@ -4,11 +4,9 @@ import org.gradle.api.provider.Provider
|
|||
// set by GitHub Actions
|
||||
val Project.ci: Provider<Boolean>
|
||||
get() = providers.environmentVariable("CI")
|
||||
.forUseAtConfigurationTime()
|
||||
.map { it.toBoolean() }
|
||||
.orElse(false)
|
||||
|
||||
val Project.compileExamples: Boolean
|
||||
get() = providers.gradleProperty("compile-examples")
|
||||
.forUseAtConfigurationTime()
|
||||
.isPresent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue