forked from fge/jackson-coreutils
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.gradle
More file actions
108 lines (93 loc) · 3.01 KB
/
build.gradle
File metadata and controls
108 lines (93 loc) · 3.01 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/*
* Copyright (c) 2014, Francis Galiegue (fgaliegue@gmail.com)
*
* This software is dual-licensed under:
*
* - the Lesser General Public License (LGPL) version 3.0 or, at your option, any
* later version;
* - the Apache Software License (ASL) version 2.0.
*
* The text of this file and of both licenses is available at the root of this
* project or, if you have the jar distribution, in directory META-INF/, under
* the names LGPL-3.0.txt and ASL-2.0.txt respectively.
*
* Direct link to the sources:
*
* - LGPL 3.0: https://www.gnu.org/licenses/lgpl-3.0.txt
* - ASL 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
*/
plugins {
id "java-library"
id "maven-publish"
id "signing"
id "idea"
id "eclipse"
id "com.github.ben-manes.versions" version "0.51.0"
}
group = "com.github.java-json-tools"
version = "2.1-SNAPSHOT"
description = "Core utility classes for Jackson"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
withSourcesJar()
withJavadocJar()
}
repositories {
mavenCentral()
}
dependencies {
api "com.google.code.findbugs:jsr305:3.0.2"
api "tools.jackson.core:jackson-databind:3.0.0"
api "com.github.java-json-tools:msg-simple:1.2"
testImplementation "org.testng:testng:7.9.0"
testImplementation "org.assertj:assertj-core:3.25.3"
testImplementation "org.mockito:mockito-core:5.11.0"
}
test {
useTestNG()
testLogging {
events "passed", "skipped", "failed"
exceptionFormat = "full"
}
}
javadoc {
options.links("https://docs.oracle.com/en/java/javase/17/docs/api/")
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
pom {
name = "Jackson coreutils"
description = "A set of utility classes for use with Jackson"
url = "https://github.com/java-json-tools/jackson-coreutils"
licenses {
license {
name = "Lesser General Public License, version 3 or greater"
url = "http://www.gnu.org/licenses/lgpl.html"
}
license {
name = "Apache Software License, version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0"
}
}
scm {
url = "https://github.com/java-json-tools/jackson-coreutils"
connection = "scm:git:git://github.com/java-json-tools/jackson-coreutils"
}
developers {
developer {
id = "fge"
name = "Francis Galiegue"
email = "fgaliegue@gmail.com"
}
}
}
}
}
}
signing {
required { gradle.taskGraph.hasTask("publish") }
sign publishing.publications.mavenJava
}