forked from LouisCAD/kotlin-libraries-playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
40 lines (33 loc) · 952 Bytes
/
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
include(":android")
pluginManagement {
repositories {
gradlePluginPortal()
mavenLocal()
}
}
plugins {
id("com.gradle.enterprise") version "3.6.3"
//// # available:"3.6.4"
id("de.fayard.refreshVersions") version "0.20.0"
}
refreshVersions {
enableBuildSrcLibs()
}
// https://dev.to/jmfayard/the-one-gradle-trick-that-supersedes-all-the-others-5bpg
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
buildScanPublished {
file("buildscan.log").appendText("${java.util.Date()} - $buildScanUri\n")
}
}
}
rootProject.name = "kotlin-libraries-playground"
apply(from= "gradle/detekt-android-sdk.gradle")
val hasAndroidSdk: Boolean by extra
if (hasAndroidSdk) include("android")
include("kotlin-jvm")
include("kotlin-testing")
include("kotlin-codegen")