-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
79 lines (68 loc) · 2.21 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import org.radarbase.gradle.plugin.radarKotlin
import org.radarbase.gradle.plugin.radarPublishing
plugins {
id("org.radarbase.radar-root-project") version Versions.radarCommons
id("org.radarbase.radar-dependency-management") version Versions.radarCommons
id("org.radarbase.radar-kotlin") version Versions.radarCommons apply false
id("org.radarbase.radar-publishing") version Versions.radarCommons apply false
kotlin("plugin.serialization") version Versions.kotlin apply false
}
radarRootProject {
projectVersion.set(Versions.project)
}
configure(listOf(
project(":radar-expression-lang"),
project(":radar-app-config"),
project(":radar-app-config-core"),
project(":radar-app-config-client"),
project(":radar-expression-lang"),
)) {
apply(plugin = "org.radarbase.radar-kotlin")
radarKotlin {
javaVersion.set(Versions.java)
kotlinVersion.set(Versions.kotlin)
slf4jVersion.set(Versions.slf4j)
log4j2Version.set(Versions.log4j2)
junitVersion.set(Versions.junit)
}
}
project(":radar-expression-lang-antlr") {
apply(plugin = "java")
apply(plugin = "org.gradle.antlr")
repositories {
mavenCentral()
mavenLocal()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
}
tasks.withType<JavaCompile> {
options.release.set(11)
}
}
configure(listOf(
project(":radar-expression-lang"),
project(":radar-app-config-core"),
project(":radar-app-config-client"),
)) {
apply(plugin = "org.radarbase.radar-publishing")
radarKotlin {
javaVersion.set(17)
}
radarPublishing {
val githubRepoName = "RADAR-base/radar-app-config"
githubUrl.set("https://github.com/$githubRepoName.git")
developers {
developer {
id.set("blootsvoets")
name.set("Bastiaan de Graaf")
email.set("[email protected]")
organization.set("The Hyve")
}
developer {
id.set("nivemaham")
name.set("Nivethika Mahasivam")
email.set("[email protected]")
organization.set("The Hyve")
}
}
}
}