Skip to content

Commit 4f1b572

Browse files
committed
Setup for json-patch release
1 parent 71b57cc commit 4f1b572

File tree

2 files changed

+16
-38
lines changed

2 files changed

+16
-38
lines changed

build.gradle

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -43,20 +43,17 @@ apply(plugin: "osgi");
4343
apply(plugin: "idea");
4444
apply(plugin: "eclipse");
4545

46-
group = "com.github.fge";
46+
group = "com.github.java-json-tools";
4747
version = "1.10-SNAPSHOT";
48-
description = "JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386) implementation in Java";
4948
sourceCompatibility = "1.6";
5049
targetCompatibility = "1.6"; // defaults to sourceCompatibility
5150

5251
/*
5352
* List of dependencies
5453
*/
5554
dependencies {
56-
provided(group: "com.google.code.findbugs", name: "jsr305",
57-
version: "2.0.1");
58-
compile(group: "com.github.fge", name: "jackson-coreutils",
59-
version: "1.6");
55+
provided(group: "com.google.code.findbugs", name: "jsr305", version: "2.0.1");
56+
compile(group: "com.github.java-json-tools", name: "jackson-coreutils", version: "1.9");
6057
testCompile(group: "org.testng", name: "testng", version: "6.8.7") {
6158
exclude(group: "junit", module: "junit");
6259
exclude(group: "org.beanshell", module: "bsh");
@@ -121,7 +118,7 @@ artifacts {
121118
}
122119

123120
task wrapper(type: Wrapper) {
124-
gradleVersion = "1.11";
121+
gradleVersion = "3.5";
125122
distributionUrl = "http://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip";
126123
}
127124

@@ -134,9 +131,9 @@ task pom << {
134131
*/
135132

136133
project.ext {
137-
gitrwscm = sprintf("[email protected]:fge/%s", name);
138-
gitroscm = sprintf("https://github.com/fge/%s.git", name);
139-
projectURL = sprintf("https://github.com/fge/%s", name);
134+
description = "JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386) implementation in Java";
135+
scmUrl = sprintf("git@github.com:java-json-tools/%s.git", name)
136+
projectURL = sprintf("https://github.com/java-json-tools/%s", name);
140137
sonatypeStaging = "https://oss.sonatype.org/service/local/staging/deploy/maven2/";
141138
sonatypeSnapshots = "https://oss.sonatype.org/content/repositories/snapshots/";
142139
};
@@ -190,13 +187,13 @@ uploadArchives {
190187
pom.project {
191188
name "${project.name}";
192189
packaging "jar";
193-
description "${project.description}";
190+
description "${project.ext.description}";
194191
url "${projectURL}";
195192

196193
scm {
197-
url "${gitrwscm}";
198-
connection "${gitrwscm}";
199-
developerConnection "${gitroscm}";
194+
url "${scmUrl}";
195+
connection "${scmUrl}";
196+
developerConnection "scm:git:${scmUrl}";
200197
}
201198

202199
licenses {
@@ -214,9 +211,9 @@ uploadArchives {
214211

215212
developers {
216213
developer {
217-
id "fge";
218-
name "Francis Galiegue";
219-
email "fgaliegue@gmail.com";
214+
id "huggsboson";
215+
name "John Huffaker";
216+
email "jhuffaker+java-json-tools@gmail.com";
220217
}
221218
}
222219
}
Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,6 @@
1-
#
2-
# Copyright (c) 2014, Francis Galiegue ([email protected])
3-
#
4-
# This software is dual-licensed under:
5-
#
6-
# - the Lesser General Public License (LGPL) version 3.0 or, at your option, any
7-
# later version;
8-
# - the Apache Software License (ASL) version 2.0.
9-
#
10-
# The text of this file and of both licenses is available at the root of this
11-
# project or, if you have the jar distribution, in directory META-INF/, under
12-
# the names LGPL-3.0.txt and ASL-2.0.txt respectively.
13-
#
14-
# Direct link to the sources:
15-
#
16-
# - LGPL 3.0: https://www.gnu.org/licenses/lgpl-3.0.txt
17-
# - ASL 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
18-
#
19-
20-
#Mon Apr 14 13:20:00 CEST 2014
1+
#Fri May 11 21:07:09 PDT 2018
212
distributionBase=GRADLE_USER_HOME
223
distributionPath=wrapper/dists
234
zipStoreBase=GRADLE_USER_HOME
245
zipStorePath=wrapper/dists
25-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
6+
distributionUrl=http\://services.gradle.org/distributions/gradle-3.5-all.zip

0 commit comments

Comments
 (0)