build: Update Gradle and plugins, small cleanup to build scripts

This commit is contained in:
Jason Penilla 2021-06-14 05:33:09 -07:00 committed by Jason
parent 9692593095
commit fb48a3c8af
19 changed files with 245 additions and 189 deletions

View file

@ -0,0 +1,12 @@
plugins {
id("cloud.base-conventions")
}
extensions.create<CloudExampleExtension>("cloudExample")
// Only compile examples on CI, or when the compile-examples property exists
if (!ci.get() && !compileExamples) {
tasks.configureEach {
onlyIf { false }
}
}