Skip to content

Commit 2a1cee1

Browse files
authored
Merge pull request #153 from KyoriPowered/deps/gradle84
Bump to Gradle 8.4
2 parents 4ef36c0 + 0b78cd5 commit 2a1cee1

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,15 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
145145
case $MAX_FD in #(
146146
max*)
147147
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148-
# shellcheck disable=SC3045
148+
# shellcheck disable=SC2039,SC3045
149149
MAX_FD=$( ulimit -H -n ) ||
150150
warn "Could not query maximum file descriptor limit"
151151
esac
152152
case $MAX_FD in #(
153153
'' | soft) :;; #(
154154
*)
155155
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156-
# shellcheck disable=SC3045
156+
# shellcheck disable=SC2039,SC3045
157157
ulimit -n "$MAX_FD" ||
158158
warn "Could not set maximum file descriptor limit to $MAX_FD"
159159
esac
@@ -202,11 +202,11 @@ fi
202202
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
203203
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204204

205-
# Collect all arguments for the java command;
206-
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
207-
# shell script including quotes and variable substitutions, so put them in
208-
# double quotes to make sure that they get re-expanded; and
209-
# * put everything else in single quotes, so that it's not re-expanded.
205+
# Collect all arguments for the java command:
206+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207+
# and any embedded shellness will be escaped.
208+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209+
# treated as '${Hostname}' itself on the command line.
210210

211211
set -- \
212212
"-Dorg.gradle.appname=$APP_BASE_NAME" \

indra-git/src/test/java/net/kyori/indra/git/IndraGitPluginFunctionalTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* This file is part of indra, licensed under the MIT License.
33
*
4-
* Copyright (c) 2020-2022 KyoriPowered
4+
* Copyright (c) 2020-2023 KyoriPowered
55
*
66
* Permission is hereby granted, free of charge, to any person obtaining a copy
77
* of this software and associated documentation files (the "Software"), to deal
@@ -26,6 +26,7 @@
2626
import java.io.IOException;
2727
import net.kyori.indra.test.FunctionalTestDisplayNameGenerator;
2828
import net.kyori.indra.test.IndraConfigCacheFunctionalTest;
29+
import net.kyori.indra.test.IndraFunctionalTest;
2930
import net.kyori.mammoth.test.TestContext;
3031
import org.eclipse.jgit.api.errors.GitAPIException;
3132
import org.gradle.testkit.runner.BuildResult;
@@ -37,7 +38,7 @@
3738
class IndraGitPluginFunctionalTest {
3839

3940
// Just test the interactions with Gradle API here, really
40-
@IndraConfigCacheFunctionalTest
41+
@IndraFunctionalTest // todo: config cache
4142
void testGitApplication(final TestContext ctx) throws IOException, GitAPIException {
4243
IndraGitPluginTest.initRepo(ctx.outputDirectory());
4344
ctx.copyInput("build.gradle");

indra-testlib/src/main/java/net/kyori/indra/test/IndraFunctionalTestBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*/
3939
@GradleFunctionalTest
4040
@LegacyGradleVersion
41-
@TestVariant(gradleVersion = "8.3")
41+
@TestVariant(gradleVersion = "8.4")
4242
@TestVariantResource(value = "/injected-gradle-versions", optional = true)
4343
@Tag("functional")
4444
@Documented

0 commit comments

Comments
 (0)