-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsettings.gradle.kts
46 lines (39 loc) · 1.07 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//import de.fayard.versions.bootstrapRefreshVersions
//import de.fayard.dependencies.DependenciesPlugin
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
google()
mavenCentral()
}
resolutionStrategy {
eachPlugin {
val plugin = requested.id.id
val module = when {
plugin.startsWith("com.android") -> "com.android.tools.build:gradle:3.5.3"
else -> return@eachPlugin
}
println("resolutionStrategy for plugin=$plugin : $module")
useModule(module)
}
}
}
buildscript {
repositories {
gradlePluginPortal()
}
//dependencies.classpath("de.fayard:dependencies:0.5.6")
}
plugins {
id("com.gradle.enterprise").version("3.1.1")
}
//bootstrapRefreshVersions(DependenciesPlugin.artifactVersionKeyRules)
rootProject.name = "android-kiss"
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
}
}