-
Notifications
You must be signed in to change notification settings - Fork 35
/
settings.gradle.kts
44 lines (34 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
plugins {
id("com.gradle.enterprise") version "3.10.3"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
val spark: String by settings
val scala: String by settings
val skipScalaTuplesInKotlin: String by settings
System.setProperty("spark", spark)
System.setProperty("scala", scala)
System.setProperty("skipScalaTuplesInKotlin", skipScalaTuplesInKotlin)
val scalaCompat
get() = scala.substringBeforeLast('.')
val versions = "${spark}_${scalaCompat}"
rootProject.name = "kotlin-spark-api-parent_$versions"
include("core")
include("scala-tuples-in-kotlin")
include("kotlin-spark-api")
include("jupyter")
include("examples")
project(":core").name = "core_$versions"
project(":scala-tuples-in-kotlin").name = "scala-tuples-in-kotlin_$scalaCompat"
project(":kotlin-spark-api").name = "kotlin-spark-api_$versions"
project(":jupyter").name = "jupyter_$versions"
project(":examples").name = "examples_$versions"
buildCache {
local {
removeUnusedEntriesAfterDays = 30
}
}