Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ below:
# Build, test the package
./gradlew test
# Install in your local maven repository
./gradlew clean install
./gradlew build publishToMavenLocal
```

If you try and play around with Gradle configuration files, in order to be
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ With Gradle:

```groovy
dependencies {
compile(group: "com.gravity9", name: "java-json-tools", version: "yourVersionHere");
compile(group: "com.gravity9", name: "json-patch-path", version: "yourVersionHere");
}
```

Expand All @@ -47,7 +47,7 @@ With Maven:
```xml
<dependency>
<groupId>com.gravity9</groupId>
<artifactId>java-json-tools</artifactId>
<artifactId>json-patch-path</artifactId>
<version>yourVersionHere</version>
</dependency>
```
Expand Down
12 changes: 11 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ apply(plugin: "java");
apply(plugin: "biz.aQute.bnd.builder");
apply(plugin: "net.ltgt.errorprone");
apply(plugin: 'org.owasp.dependencycheck');
apply(plugin: 'maven-publish')
apply(plugin: 'java-library')
apply(from: "project.gradle");

group = "com.github.java-json-tools";
group = "com.gravity9";

/*
* Repositories to use
Expand Down Expand Up @@ -100,3 +102,11 @@ wrapper {
gradleVersion = "7.6.1";
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip";
}

publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}
8 changes: 4 additions & 4 deletions project.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/*
* Project-specific settings. Unfortunately we cannot put the name in there!
*/
group = "com.gravity9.java-json-tools";
group = "com.gravity9";
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
project.ext.description = "JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386) implementation in Java, using extended TMF620 JsonPath syntax";
Expand All @@ -31,9 +31,9 @@ project.ext.description = "JSON Patch (RFC 6902) and JSON Merge Patch (RFC 7386)
dependencies {
compileOnly(group: "com.google.code.findbugs", name: "jsr305", version: "3.0.2");
implementation(group: "com.fasterxml.jackson.core", name: "jackson-databind", version: "2.15.2");
implementation(group: 'com.jayway.jsonpath', name: 'json-path', version: '2.8.0')
implementation(group: "com.github.java-json-tools", name: "msg-simple", version: "1.2");
implementation(group: "com.github.java-json-tools", name: "jackson-coreutils", version: "2.0");
api(group: 'com.jayway.jsonpath', name: 'json-path', version: '2.8.0')
api(group: "com.github.java-json-tools", name: "msg-simple", version: "1.2");
api(group: "com.github.java-json-tools", name: "jackson-coreutils", version: "2.0");
testImplementation(group: "org.testng", name: "testng", version: "7.1.0") {
exclude(group: "junit", module: "junit");
exclude(group: "org.beanshell", module: "bsh");
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
* - ASL 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
*/

rootProject.name = "java-json-tools";
rootProject.name = "json-patch-path";