-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
46 lines (37 loc) · 904 Bytes
/
build.gradle
File metadata and controls
46 lines (37 loc) · 904 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
38
39
40
41
42
43
44
45
46
plugins {
id 'java-library'
id 'maven-publish'
}
project.group = 'org.clyze'
wrapper {
gradleVersion = '9.3.1'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'commons-io:commons-io:2.21.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.21.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.21.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:6.1.0-M1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
testRuntimeOnly "org.junit.platform:junit-platform-launcher:6.0.3"
}
java {
withSourcesJar()
withJavadocJar()
}
javadoc.options.addBooleanOption('Xdoclint:all', true)
test {
useJUnitPlatform()
}
tasks.named("assemble") {
dependsOn(sourcesJar, javadocJar)
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}