build updates
This commit is contained in:
parent
1c02da5116
commit
33c51967e2
6 changed files with 5 additions and 9 deletions
|
|
@ -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