-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle.kts
57 lines (49 loc) · 1.71 KB
/
build.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
50
51
52
53
54
55
56
57
plugins {
id("com.github.rahulsom.waena.root").version("0.6.1")
id("org.jetbrains.kotlin.jvm").version("1.8.22").apply(false)
id("org.jetbrains.kotlin.plugin.allopen").version("1.8.22").apply(false)
id("org.jlleitschuh.gradle.ktlint").version("12.1.1").apply(false)
id("org.springframework.boot").version("3.0.4").apply(false)
id("io.spring.dependency-management").version("1.1.5").apply(false)
id("org.sonarqube").version("5.0.0.4638")
id("me.champeau.buildscan-recipes").version("0.2.3")
id("com.sourcemuse.mongo").version("1.0.7").apply(false)
}
allprojects {
group = "com.github.rahulsom"
}
subprojects {
repositories {
mavenCentral()
}
apply(plugin = "checkstyle")
configure<CheckstyleExtension> {
configFile = rootProject.file("gradle/checkstyle/checkstyle.xml")
toolVersion = "10.7.0"
maxWarnings = 0
maxErrors = 0
}
var theProject = project
var projectPath = theProject.name
while (theProject.parent != rootProject) {
projectPath = "${theProject.parent!!.name}-${projectPath}"
theProject = theProject.parent!!
}
sonarqube {
properties {
property("sonar.moduleKey", "com.github.rahulsom:grooves:${projectPath}")
}
}
}
configure<nebula.plugin.contacts.ContactsExtension> {
validateEmails = true
addPerson("[email protected]", delegateClosureOf<nebula.plugin.contacts.Contact> {
moniker("Rahul Somasunderam")
roles("owner")
github("https://github.com/rahulsom")
})
}
tasks.named("release") { dependsOn("grooves-docs:gitPublishPush") }
buildScanRecipes {
recipes("git-commit", "git-status", "travis-ci", "gc-stats")
}