Skip to content
Open
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
43 changes: 0 additions & 43 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

228 changes: 0 additions & 228 deletions .github/workflows/pipeline.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ javac -cp .:json-java.jar Test.java (Unix Systems)
*Test file contents*

```java
import org.json.JSONObject;
import com.currenthealth.json.JSONObject;
public class Test {
public static void main(String args[]){
JSONObject jo = new JSONObject("{ \"abc\" : \"def\" }");
Expand Down
35 changes: 13 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
/*
* This file was generated by the Gradle 'init' task.
*/
apply plugin: 'java'
apply plugin: 'eclipse'
// apply plugin: 'jacoco'
apply plugin: 'maven-publish'

//plugins {
// id 'java'
//id 'maven-publish'
// }
plugins {
id 'java'
id 'eclipse'
id 'com.currenthealth.gradle.nexus-publisher' version '1.4.0'
}

repositories {
gradlePluginPortal()
mavenLocal()
mavenCentral()

maven {
url = uri('https://oss.sonatype.org/content/repositories/snapshots')
url "https://nexus.snap40.com/repository/maven-public/"
credentials {
username System.getenv('nexus_username') ?: "$nexus_username"
password System.getenv('nexus_password') ?: "$nexus_password"
}
}
}

Expand All @@ -29,7 +27,7 @@ subprojects {
tasks.withType(Javadoc).all { enabled = false }
}

group = 'org.json'
group = 'com.currenthealth.json'
version = 'v20230618-SNAPSHOT'
description = 'JSON in Java'
sourceCompatibility = '1.8'
Expand All @@ -42,13 +40,6 @@ java {
withJavadocJar()
}

publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}

tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
Expand Down
Loading