-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle.kts
65 lines (59 loc) · 1.97 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
// Plugins
plugins {
id("me.philippheuer.configuration") version "0.13.0"
}
version = properties["version"] as String
// All-Projects
allprojects {
apply(plugin = "me.philippheuer.configuration")
// Repositories
repositories {
mavenCentral()
}
projectConfiguration {
language.set(me.philippheuer.projectcfg.domain.ProjectLanguage.JAVA)
type.set(me.philippheuer.projectcfg.domain.ProjectType.LIBRARY)
javaVersion.set(JavaVersion.VERSION_1_8)
lombokVersion.set("1.18.36")
artifactGroupId.set("com.github.philippheuer.events4j")
pom = { pom ->
pom.url.set("https://github.com/PhilippHeuer/events4j")
pom.issueManagement {
system.set("GitHub")
url.set("https://github.com/PhilippHeuer/events4j/issues")
}
pom.inceptionYear.set("2018")
pom.developers {
developer {
id.set("PhilippHeuer")
name.set("Philipp Heuer")
email.set("[email protected]")
roles.addAll("maintainer")
}
developer {
id.set("iProdigy")
name.set("Sidd")
roles.addAll("maintainer")
}
}
pom.licenses {
license {
name.set("MIT Licence")
distribution.set("repo")
url.set("https://github.com/PhilippHeuer/events4j/blob/main/LICENSE")
}
}
pom.scm {
connection.set("scm:git:https://github.com/PhilippHeuer/events4j.git")
developerConnection.set("scm:git:[email protected]:PhilippHeuer/events4j.git")
url.set("https://github.com/PhilippHeuer/events4j")
}
}
}
}
// Subprojects
subprojects {
if (!name.contains("bom")) {
apply(plugin = "java-library")
}
}