You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
817 B
Kotlin
36 lines
817 B
Kotlin
@file:Suppress("UnstableApiUsage")
|
|
plugins {
|
|
id("com.gradle.enterprise") version("3.13")
|
|
}
|
|
|
|
gradleEnterprise {
|
|
if (System.getenv("CI") != null) {
|
|
buildScan {
|
|
publishAlways()
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
termsOfServiceAgree = "yes"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
// enable jitpack
|
|
maven { setUrl("https://jitpack.io") }
|
|
}
|
|
}
|
|
|
|
// val isCiServer = System.getenv().containsKey("CI")
|
|
// Cache build artifacts, so expensive operations do not need to be re-computed
|
|
buildCache {
|
|
local {
|
|
isEnabled = true
|
|
}
|
|
}
|
|
|
|
rootProject.name = "MagiskModuleManager"
|
|
include(":app")
|