-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsettings.gradle.kts
40 lines (33 loc) · 1.01 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
import de.fayard.refreshVersions.core.*
plugins {
id("com.gradle.develocity") version "3.19"
id("de.fayard.refreshVersions") version "0.60.5"
}
rootProject.name = "seven-wonders"
dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositories {
mavenCentral()
}
}
include("sw-common-model")
include("sw-engine")
include("sw-server")
include("sw-client")
include("sw-ui")
include("sw-bot")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
uploadInBackground = false // background upload is bad for CI, and not critical for local runs
}
}
refreshVersions {
versionsPropertiesFile = file("build/tmp/refreshVersions/versions.properties").apply { parentFile.mkdirs() }
rejectVersionIf {
@Suppress("UnstableApiUsage")
candidate.stabilityLevel != StabilityLevel.Stable || "-alpha" in candidate.value || "-beta" in candidate.value
}
}