Skip to content

Commit 4b935c1

Browse files
authored
Merge pull request #132 from KyoriPowered/renovate/gradle-and-github-actions
chore(deps): Update gradle and github actions
2 parents 2e25143 + da353ff commit 4b935c1

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
buildscript {
22
ext {
3-
indraVersion = '3.0.1'
3+
indraVersion = '3.1.3'
44
}
55
}
66

@@ -9,6 +9,7 @@ plugins {
99
id 'net.kyori.indra.publishing.sonatype' version "$indraVersion"
1010
id 'net.kyori.indra.licenser.spotless' version "$indraVersion" apply false
1111
id 'net.kyori.indra.crossdoc' version "$indraVersion" apply false
12+
id 'io.github.gradle-nexus.publish-plugin' version "2.0.0-rc-1"
1213
}
1314

1415
// Adventure version

gradle/wrapper/gradle-wrapper.jar

2.06 KB
Binary file not shown.
+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
44
networkTimeout=10000
5+
validateDistributionUrl=true
56
zipStoreBase=GRADLE_USER_HOME
67
zipStorePath=wrapper/dists

gradlew

+10-5
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,8 @@ done
8383
# This is normally unused
8484
# shellcheck disable=SC2034
8585
APP_BASE_NAME=${0##*/}
86-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
87-
88-
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
86+
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87+
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
9088

9189
# Use the maximum available, or set MAX_FD != -1 to use that value.
9290
MAX_FD=maximum
@@ -133,10 +131,13 @@ location of your Java installation."
133131
fi
134132
else
135133
JAVACMD=java
136-
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
134+
if ! command -v java >/dev/null 2>&1
135+
then
136+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
137137
138138
Please set the JAVA_HOME variable in your environment to match the
139139
location of your Java installation."
140+
fi
140141
fi
141142

142143
# Increase the maximum file descriptors if we can.
@@ -197,6 +198,10 @@ if "$cygwin" || "$msys" ; then
197198
done
198199
fi
199200

201+
202+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204+
200205
# Collect all arguments for the java command;
201206
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
202207
# shell script including quotes and variable substitutions, so put them in

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import org.gradle.api.initialization.resolve.RepositoriesMode
22

33
plugins {
4-
id "org.gradle.toolchains.foojay-resolver-convention" version "0.4.0"
4+
id "org.gradle.toolchains.foojay-resolver-convention" version "0.7.0"
55
}
66

77
rootProject.name = 'adventure-platform-parent'

0 commit comments

Comments
 (0)