Thanks to visit codestin.com
Credit goes to github.com

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 .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Publish hjson-java releases on Maven
on:
release:
types: [published]
types: [created]
jobs:
publish:
runs-on: ubuntu-latest
Expand Down
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

53 changes: 48 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
apply plugin: 'java'

group = 'org.hjson'
description = """Hjson, the Human JSON."""
plugins {
id 'java'
id 'maven-publish'
id 'signing'
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -55,4 +56,46 @@ task(testSuite, dependsOn: ['classes','testClasses'], type: JavaExec) {

test.dependsOn testSuite

//apply from: 'gradle-mvn-push.gradle'
publishing {
publications {
maven(MavenPublication) {
from components.java
pom {
description = project.description
url = "https://github.com/hjson/hjson-java"
licenses {
license {
name = "The MIT License (MIT)"
url = "https://github.com/hjson/hjson-java/blob/master/LICENSE"
distribution = "repo"
}
}
developers {
developer {
id = "laktak"
name = "Christian Zangl"
}
}
scm {
connection = "scm:[email protected]:hjson/hjson-java.git"
developerConnection = "scm:[email protected]:hjson/hjson-java.git"
url = "https://github.com/hjson/hjson-java"
}
}
}
}
repositories {
maven {
name = "OSSRH"
url = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}

// signing {
// sign publishing.publications.maven
// }
2 changes: 1 addition & 1 deletion docs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (hjson API)</title>
<title>All Classes (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (hjson API)</title>
<title>All Classes (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
4 changes: 2 additions & 2 deletions docs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Constant Field Values (hjson API)</title>
<title>Constant Field Values (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (hjson API)";
parent.document.title="Constant Field Values (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Deprecated List (hjson API)</title>
<title>Deprecated List (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (hjson API)";
parent.document.title="Deprecated List (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>API Help (hjson API)</title>
<title>API Help (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (hjson API)";
parent.document.title="API Help (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Index (hjson API)</title>
<title>Index (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Index (hjson API)";
parent.document.title="Index (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>hjson API</title>
<title>hjson 3.0.1 API</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/HjsonDsf.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>HjsonDsf (hjson API)</title>
<title>HjsonDsf (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HjsonDsf (hjson API)";
parent.document.title="HjsonDsf (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/HjsonOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>HjsonOptions (hjson API)</title>
<title>HjsonOptions (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="HjsonOptions (hjson API)";
parent.document.title="HjsonOptions (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/IHjsonDsfProvider.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>IHjsonDsfProvider (hjson API)</title>
<title>IHjsonDsfProvider (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="IHjsonDsfProvider (hjson API)";
parent.document.title="IHjsonDsfProvider (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/JsonArray.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JsonArray (hjson API)</title>
<title>JsonArray (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JsonArray (hjson API)";
parent.document.title="JsonArray (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/JsonObject.Member.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JsonObject.Member (hjson API)</title>
<title>JsonObject.Member (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JsonObject.Member (hjson API)";
parent.document.title="JsonObject.Member (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/JsonObject.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JsonObject (hjson API)</title>
<title>JsonObject (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JsonObject (hjson API)";
parent.document.title="JsonObject (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/JsonType.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JsonType (hjson API)</title>
<title>JsonType (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JsonType (hjson API)";
parent.document.title="JsonType (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/JsonValue.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>JsonValue (hjson API)</title>
<title>JsonValue (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JsonValue (hjson API)";
parent.document.title="JsonValue (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/ParseException.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ParseException (hjson API)</title>
<title>ParseException (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ParseException (hjson API)";
parent.document.title="ParseException (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/org/hjson/Stringify.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Stringify (hjson API)</title>
<title>Stringify (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Stringify (hjson API)";
parent.document.title="Stringify (hjson 3.0.1 API)";
}
}
catch(err) {
Expand Down
2 changes: 1 addition & 1 deletion docs/org/hjson/package-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>org.hjson (hjson API)</title>
<title>org.hjson (hjson 3.0.1 API)</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../script.js"></script>
</head>
Expand Down
Loading