-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (33 loc) · 871 Bytes
/
build.gradle.kts
File metadata and controls
37 lines (33 loc) · 871 Bytes
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
plugins {
java
`java-library`
`maven-publish`
}
group = "de.chojo"
version = "1.0.1"
repositories {
mavenCentral()
}
dependencies {
api("com.fasterxml.jackson.core", "jackson-databind", "2.20.1")
testImplementation("org.junit.jupiter", "junit-jupiter-api", "5.13.4")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testRuntimeOnly("org.junit.jupiter", "junit-jupiter-engine")
}
publishing {
repositories {
maven {
name = "Eldonexus"
url = uri("https://eldonexus.de/repository/maven-releases")
credentials {
username = System.getenv("NEXUS_USERNAME")
password = System.getenv("NEXUS_PASSWORD")
}
}
}
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}