Skip to content

Commit 2617e8b

Browse files
committed
Replaced CompletableFuture in PathRef. Bumped version to 0.2.5
1 parent e590767 commit 2617e8b

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

build.gradle

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group 'io.github.chronosx88'
7-
version '0.2.4'
7+
version '0.2.5'
88

99
sourceCompatibility = 1.8
1010

@@ -19,3 +19,21 @@ dependencies {
1919

2020
testCompile group: 'junit', name: 'junit', version: '4.12'
2121
}
22+
23+
24+
task sourcesJar(type: Jar, dependsOn: classes) {
25+
classifier = 'sources'
26+
from sourceSets.main.allSource
27+
}
28+
29+
task javadocJar(type: Jar, dependsOn: javadoc) {
30+
classifier = 'javadoc'
31+
from javadoc.destinationDir
32+
}
33+
34+
artifacts {
35+
archives sourcesJar
36+
archives javadocJar
37+
}
38+
39+

src/main/java/io/github/chronosx88/JGUN/PathRef.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
import io.github.chronosx88.JGUN.futures.FutureGet;
44
import io.github.chronosx88.JGUN.futures.FuturePut;
5+
import java9.util.concurrent.CompletableFuture;
56
import org.json.JSONObject;
67

78
import java.util.ArrayList;
89
import java.util.Iterator;
9-
import java.util.concurrent.CompletableFuture;
1010
import java.util.concurrent.ExecutionException;
1111

1212
public class PathRef {

0 commit comments

Comments
 (0)