diff --git a/build.gradle b/build.gradle index 8f50cd1..9acdbd9 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { } group 'io.github.chronosx88' -version '0.2.4' +version '0.2.5' sourceCompatibility = 1.8 @@ -19,3 +19,21 @@ dependencies { testCompile group: 'junit', name: 'junit', version: '4.12' } + + +task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource +} + +task javadocJar(type: Jar, dependsOn: javadoc) { + classifier = 'javadoc' + from javadoc.destinationDir +} + +artifacts { + archives sourcesJar + archives javadocJar +} + + diff --git a/src/main/java/io/github/chronosx88/JGUN/PathRef.java b/src/main/java/io/github/chronosx88/JGUN/PathRef.java index 1a0b75e..2b2439d 100644 --- a/src/main/java/io/github/chronosx88/JGUN/PathRef.java +++ b/src/main/java/io/github/chronosx88/JGUN/PathRef.java @@ -2,11 +2,11 @@ package io.github.chronosx88.JGUN; import io.github.chronosx88.JGUN.futures.FutureGet; import io.github.chronosx88.JGUN.futures.FuturePut; +import java9.util.concurrent.CompletableFuture; import org.json.JSONObject; import java.util.ArrayList; import java.util.Iterator; -import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; public class PathRef {