bump Gradle version to 8.3

also fixed bug in `JWO.dynamicCast`
This commit is contained in:
2023-10-02 12:48:01 +08:00
parent 76175afdf8
commit 70123e1c08
6 changed files with 8 additions and 12 deletions

View File

@@ -1,3 +1,3 @@
jwo.version = 2023.06.22
lys.version = 2023.06.14
jwo.version = 2023.10.01
lys.version = 2023.09.26
guice.version = 5.0.1

Binary file not shown.

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

7
gradlew vendored
View File

@@ -85,9 +85,6 @@ done
APP_BASE_NAME=${0##*/}
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
@@ -197,6 +194,10 @@ if "$cygwin" || "$msys" ; then
done
fi
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in

View File

@@ -5,11 +5,6 @@ pluginManagement {
}
gradlePluginPortal()
}
// plugins {
// id "net.woggioni.gradle.lombok" version "0.1"
// id "net.woggioni.gradle.multi-release-jar" version "0.1"
// }
}
dependencyResolutionManagement {

View File

@@ -472,7 +472,7 @@ public class JWO {
public static <T, U> T dynamicCast(U obj, Class<T> cls) {
if(obj == null) return null;
else if(cls.isInstance(obj.getClass())) {
else if(cls.isInstance(obj)) {
return (T) obj;
} else {
return null;