-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
51 lines (46 loc) · 1.58 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
plugins {
id("java-library")
id("me.philippheuer.configuration") version "0.10.9"
}
projectConfiguration {
language.set(me.philippheuer.projectcfg.domain.ProjectLanguage.JAVA)
type.set(me.philippheuer.projectcfg.domain.ProjectType.LIBRARY)
javaVersion.set(JavaVersion.VERSION_11)
artifactGroupId.set("com.github.philippheuer.snowflake4j")
artifactDisplayName.set("Snowflake4J")
artifactDescription.set("Snowflake4J")
pom = { pom ->
pom.url.set("https://github.com/philippheuer/snowflake4j")
pom.issueManagement {
system.set("GitHub")
url.set("https://github.com/philippheuer/snowflake4j/issues")
}
pom.inceptionYear.set("2021")
pom.developers {
developer {
id.set("PhilippHeuer")
name.set("Philipp Heuer")
email.set("git@philippheuer.me")
roles.addAll("maintainer")
}
}
pom.licenses {
license {
name.set("MIT Licence")
distribution.set("repo")
url.set("https://opensource.org/licenses/MIT")
}
}
pom.scm {
connection.set("scm:git:https://github.com/philippheuer/snowflake4j.git")
developerConnection.set("scm:git:git@github.com:philippheuer/snowflake4j.git")
url.set("https://github.com/philippheuer/snowflake4j")
}
}
}
dependencies {
// annotations
implementation("org.jetbrains:annotations:24.1.0")
// bitfield
api("org.apache.commons:commons-lang3:3.14.0")
}