build and publishing updates
This commit is contained in:
parent
a8932bc307
commit
eae247954f
27 changed files with 314 additions and 100 deletions
|
|
@ -1,12 +1,17 @@
|
|||
import org.gradle.accessors.dm.LibrariesForLibs
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.provider.Provider
|
||||
import org.gradle.kotlin.dsl.the
|
||||
|
||||
// set by GitHub Actions
|
||||
val Project.ci: Provider<Boolean>
|
||||
get() = providers.environmentVariable("CI")
|
||||
.map { it.toBoolean() }
|
||||
.orElse(false)
|
||||
.map { it.toBoolean() }
|
||||
.orElse(false)
|
||||
|
||||
val Project.compileExamples: Boolean
|
||||
get() = providers.gradleProperty("compile-examples")
|
||||
.isPresent
|
||||
.isPresent
|
||||
|
||||
val Project.libs: LibrariesForLibs
|
||||
get() = the()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue