settings.gradle
//For having Dokka Doc
pluginManagement {
repositories {
gradlePluginPortal()
jcenter()
}
}
rootProject.name = "Drone3D"
include ':app'
ext.isCiServer = System.getenv().containsKey("CIRRUS_CI")
ext.isDefaultBranch = System.getenv()["CIRRUS_BRANCH"] == "master"
ext.buildCacheHost = System.getenv().getOrDefault("CIRRUS_HTTP_CACHE_HOST", "localhost:12321")
buildCache {
local {
enabled = !isCiServer
}
remote(HttpBuildCache) {
url = "http://${buildCacheHost}/"
enabled = isCiServer
push = isDefaultBranch
}
}