-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
49 lines (41 loc) · 1.14 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
47
48
49
import org.ajoberstar.reckon.core.Reckoner
import org.ajoberstar.reckon.core.Scope
import org.ajoberstar.reckon.gradle.ReckonExtension
rootProject.name = "app-cloud-template"
dependencyResolutionManagement {
repositories {
mavenCentral()
}
}
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("com.gradle.enterprise") version "3.15.1"
id("org.ajoberstar.reckon.settings") version "0.18.3"
}
includeBuild("gradle/plugins")
include("common")
include("backend-webmvc")
include("backend-webflux")
include("frontend")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
gradleEnterprise {
@Suppress("AVOID_NULL_CHECKS")
if (System.getenv("CI") != null) {
buildScan {
publishAlways()
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
}
extensions.configure<ReckonExtension> {
setDefaultInferredScope(Scope.PATCH)
stages("beta", "rc", Reckoner.FINAL_STAGE)
setScopeCalc(calcScopeFromProp().or(calcScopeFromCommitMessages()))
setStageCalc(calcStageFromProp())
}