Skip to content

Commit 3d54a08

Browse files
committed
update gradle and fix javadoc
1 parent 8fa7008 commit 3d54a08

8 files changed

Lines changed: 22 additions & 24 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,27 @@ dependencies {
4141
<dependency>
4242
<groupId>com.spaceshift</groupId>
4343
<artifactId>rlib.common</artifactId>
44-
<version>9.3.0</version>
44+
<version>9.5.0</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>com.spaceshift</groupId>
4848
<artifactId>rlib.fx</artifactId>
49-
<version>9.3.0</version>
49+
<version>9.5.0</version>
5050
</dependency>
5151
<dependency>
5252
<groupId>com.spaceshift</groupId>
5353
<artifactId>rlib.network</artifactId>
54-
<version>9.3.0</version>
54+
<version>9.5.0</version>
5555
</dependency>
5656
<dependency>
5757
<groupId>com.spaceshift</groupId>
5858
<artifactId>rlib.mail</artifactId>
59-
<version>9.3.0</version>
59+
<version>9.5.0</version>
6060
</dependency>
6161
<dependency>
6262
<groupId>com.spaceshift</groupId>
6363
<artifactId>rlib.testcontainers</artifactId>
64-
<version>9.3.0</version>
64+
<version>9.5.0</version>
6565
</dependency>
6666

6767
```

build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ allprojects {
6868

6969
task sourcesJar(type: Jar, dependsOn: classes) {
7070
afterEvaluate {
71-
archiveClassifier = 'sources'
72-
archiveBaseName = jar.getArchiveBaseName()
71+
getArchiveClassifier().set("sources")
72+
getArchiveBaseName().set(jar.getArchiveBaseName())
7373
from sourceSets.main.allSource
7474
}
7575
}
7676

7777
task javadocJar(type: Jar, dependsOn: javadoc) {
7878
afterEvaluate {
79-
archiveClassifier = 'javadoc'
80-
archiveBaseName = jar.getArchiveBaseName()
79+
getArchiveClassifier().set("javadoc")
80+
getArchiveBaseName().set(jar.getArchiveBaseName())
8181
from sourceSets.main.allSource
8282
}
8383
}
@@ -125,7 +125,7 @@ allprojects {
125125
}
126126

127127
task testJar(type: Jar) {
128-
archiveClassifier = "test"
128+
getArchiveClassifier().set("test")
129129
from sourceSets.test.output
130130
}
131131

@@ -139,6 +139,6 @@ allprojects {
139139
}
140140

141141
wrapper {
142-
gradleVersion = '5.5.1'
142+
gradleVersion = '6.0'
143143
distributionType = Wrapper.DistributionType.ALL
144144
}

rlib-common/src/main/java/com/ss/rlib/common/geom/Plane.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* Follow to the formula: <pre>Ax + By + Cz + D = 0</pre>
1010
*
1111
* @author zcxv
12-
* @date 25.09.2018
1312
*/
1413
public class Plane {
1514

rlib-common/src/main/java/com/ss/rlib/common/geom/Polygon.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
* Geometry 3D polygon.
1111
*
1212
* @author zcxv
13-
* @date 27.09.2018
1413
*/
1514
public class Polygon {
1615

rlib-common/src/main/java/com/ss/rlib/common/util/array/Array.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ default boolean contains(@NotNull Object object) {
187187
}
188188

189189
/**
190-
* Returns <tt>true</tt> if this array contains all of the elements in the specified array.
190+
* Returns true if this array contains all of the elements in the specified array.
191191
*
192192
* @param array the array to be checked for containment in this array
193-
* @return <tt>true</tt> if this array contains all of the elements in the specified array.
193+
* @return true if this array contains all of the elements in the specified array.
194194
*/
195195
default boolean containsAll(@NotNull Array<?> array) {
196196

@@ -228,10 +228,10 @@ default boolean containsAll(@NotNull Collection<?> array) {
228228
}
229229

230230
/**
231-
* Returns <tt>true</tt> if this array contains all of the elements in the specified array.
231+
* Returns true if this array contains all of the elements in the specified array.
232232
*
233233
* @param array the array to be checked for containment in this array
234-
* @return <tt>true</tt> if this array contains all of the elements in the specified array.
234+
* @return true if this array contains all of the elements in the specified array.
235235
*/
236236
default boolean containsAll(@NotNull Object[] array) {
237237

@@ -423,7 +423,7 @@ default int lastIndexOf(@NotNull Object object) {
423423
* this call returns, this array will contain no elements in common with the specified array.
424424
*
425425
* @param target array containing elements to be removed from this array.
426-
* @return <tt>true</tt> if this array changed as a result of the call.
426+
* @return true if this array changed as a result of the call.
427427
*/
428428
default boolean removeAll(@NotNull Array<?> target) {
429429

@@ -469,7 +469,7 @@ default boolean removeAll(@NotNull Collection<?> target) {
469469
* words, removes from this array all of its elements that are not contained in the specified array.
470470
*
471471
* @param target array containing elements to be retained in this array.
472-
* @return <tt>true</tt> if this array changed as a result of the call.
472+
* @return true if this array changed as a result of the call.
473473
*/
474474
default boolean retainAll(@NotNull Array<?> target) {
475475

rlib-common/src/main/java/com/ss/rlib/common/util/dictionary/Dictionary.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ default void free() {
4949
}
5050

5151
/**
52-
* Returns <tt>true</tt> if this dictionary contains no key-value mappings.
52+
* Returns true if this dictionary contains no key-value mappings.
5353
*
54-
* @return <tt>true</tt> if this dictionary contains no key-value mappings
54+
* @return true if this dictionary contains no key-value mappings
5555
*/
5656
default boolean isEmpty() {
5757
return size() == 0;

rlib-fx/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id 'org.openjfx.javafxplugin' version '0.0.7'
2+
id 'org.openjfx.javafxplugin' version '0.0.8'
33
}
44

55
dependencies {

rlib-network/src/main/java/com/ss/rlib/network/packet/impl/StringReadablePacket.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
/**
1111
* @author JavaSaBr
1212
*/
13-
@Getter(onMethod_ = @Nullable)
13+
@Getter
1414
public class StringReadablePacket extends AbstractReadablePacket<StringDataConnection> {
1515

1616
/**
1717
* Read data.
1818
*/
19-
private volatile String data;
19+
private volatile @Nullable String data;
2020

2121
@Override
2222
protected void readImpl(@NotNull StringDataConnection connection, @NotNull ByteBuffer buffer) {

0 commit comments

Comments
 (0)