Skip to content

Commit 1564f35

Browse files
committed
Merge branch 'api-14' into api-14-viewer/death-protection
2 parents ab7a0c9 + d15129e commit 1564f35

File tree

217 files changed

+2173
-2847
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+2173
-2847
lines changed

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ configurations {
3030
}
3131
}
3232
}
33+
34+
nexusPublishing {
35+
repositories {
36+
named("sonatype") {
37+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
38+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
39+
}
40+
}
41+
}
42+
3343
tasks {
3444
register("printSourceDirs") {
3545
doLast {

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=org.spongepowered
2-
version=14.0.0-SNAPSHOT
2+
version=14.1.0-SNAPSHOT
33
organization=SpongePowered
44
projectUrl=https://www.spongepowered.org
55
projectDescription=A plugin API for Minecraft: Java Edition

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ indra-checkstyle = { id = "net.kyori.indra.checkstyle", version.ref = "indra" }
6363
indra-crossdoc = { id = "net.kyori.indra.crossdoc", version.ref = "indra" }
6464
indra-publishing = { id = "net.kyori.indra.publishing", version.ref = "indra" }
6565
indra-publishing-sonatype = { id = "net.kyori.indra.publishing.sonatype", version.ref = "indra" }
66-
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version = "2.0.0-rc-2"}
66+
nexusPublish = { id = "io.github.gradle-nexus.publish-plugin", version = "2.0.0"}
6767
spongeGradle-convention = { id = "org.spongepowered.gradle.sponge.dev", version = "2.2.0" }

gradle/verification-metadata.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,14 @@
720720
<sha256 value="23f1cdfa4613c00cc6ea5c9f5360e1471b449f82633f13cf5ff6cdb34fa31ebd" origin="Generated by Gradle"/>
721721
</artifact>
722722
</component>
723+
<component group="io.github.gradle-nexus" name="publish-plugin" version="2.0.0">
724+
<artifact name="publish-plugin-2.0.0.jar">
725+
<sha256 value="942c1a16d161f64631901b4e2dad541d2fcbfe51cf0323955dabe02e2a9ef2aa" origin="Generated by Gradle"/>
726+
</artifact>
727+
<artifact name="publish-plugin-2.0.0.module">
728+
<sha256 value="e13ff4d6e10f283b6287103c982f076bd619e2a461fb39c16d44d1d15d71e8f7" origin="Generated by Gradle"/>
729+
</artifact>
730+
</component>
723731
<component group="io.github.gradle-nexus" name="publish-plugin" version="2.0.0-rc-1">
724732
<artifact name="publish-plugin-2.0.0-rc-1.jar">
725733
<sha256 value="dc64ecfe8b8685e0958f4cb87936578caba34403538dbbcc953be8a8629d3277" origin="Generated by Gradle"/>
@@ -736,6 +744,11 @@
736744
<sha256 value="4f1b39ce2f40840322ada0b8e2cb5394f0f9ff4cd2fab53063b870424a310c0e" origin="Generated by Gradle"/>
737745
</artifact>
738746
</component>
747+
<component group="io.github.gradle-nexus.publish-plugin" name="io.github.gradle-nexus.publish-plugin.gradle.plugin" version="2.0.0">
748+
<artifact name="io.github.gradle-nexus.publish-plugin.gradle.plugin-2.0.0.pom">
749+
<sha256 value="a329ab95f4bfdd5c891083cad3abb30741fdc6ba0bb29b1152a80fe0a69d62ef" origin="Generated by Gradle"/>
750+
</artifact>
751+
</component>
739752
<component group="io.github.gradle-nexus.publish-plugin" name="io.github.gradle-nexus.publish-plugin.gradle.plugin" version="2.0.0-rc-1">
740753
<artifact name="io.github.gradle-nexus.publish-plugin.gradle.plugin-2.0.0-rc-1.pom">
741754
<sha256 value="eff5d3edaa600504de953faef5a67a84f99f19216a95b63d22a7023eaa906a9f" origin="Generated by Gradle"/>
@@ -1923,11 +1936,24 @@
19231936
<sha256 value="f482314b5079c1455f6fb0d4257a745d101c6124ce961522ba86f9dc90901e47" origin="Generated by Gradle"/>
19241937
</artifact>
19251938
</component>
1939+
<component group="org.jetbrains.kotlin" name="kotlin-stdlib" version="2.0.21">
1940+
<artifact name="kotlin-stdlib-2.0.21.jar">
1941+
<sha256 value="f31cc53f105a7e48c093683bbd5437561d1233920513774b470805641bedbc09" origin="Generated by Gradle"/>
1942+
</artifact>
1943+
<artifact name="kotlin-stdlib-2.0.21.module">
1944+
<sha256 value="81fd6d181012487ee3246eff4e2bacb64b58c46e5b5aa72971a4ddf1bd1541ed" origin="Generated by Gradle"/>
1945+
</artifact>
1946+
</component>
19261947
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-common" version="1.9.22">
19271948
<artifact name="kotlin-stdlib-common-1.9.22.module">
19281949
<sha256 value="f93c9e9abf8d52d8e8fd8e851aa802ecec55132161c4aeee7d3cd924bf794246" origin="Generated by Gradle"/>
19291950
</artifact>
19301951
</component>
1952+
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-common" version="2.0.21">
1953+
<artifact name="kotlin-stdlib-common-2.0.21.module">
1954+
<sha256 value="6f5df8af633600a6b9cfb0fcc764af3d5119f376677677b91b6aee816b1d30ab" origin="Generated by Gradle"/>
1955+
</artifact>
1956+
</component>
19311957
<component group="org.jetbrains.kotlin" name="kotlin-stdlib-jdk7" version="1.8.0">
19321958
<artifact name="kotlin-stdlib-jdk7-1.8.0.jar">
19331959
<sha256 value="4c889d1d9803f5f2eb6c1592a6b7e62369ac7660c9eee15aba16fec059163666" origin="Generated by Gradle"/>

gradle/wrapper/gradle-wrapper.jar

311 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=a4b4158601f8636cdeeab09bd76afb640030bb5b144aafe261a5e8af027dc612
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionSha256Sum=bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -55,7 +57,7 @@
5557
# Darwin, MinGW, and NonStop.
5658
#
5759
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5961
# within the Gradle project.
6062
#
6163
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,7 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# 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
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
8890

8991
# Use the maximum available, or set MAX_FD != -1 to use that value.
9092
MAX_FD=maximum
@@ -112,7 +114,7 @@ case "$( uname )" in #(
112114
NONSTOP* ) nonstop=true ;;
113115
esac
114116

115-
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
117+
CLASSPATH="\\\"\\\""
116118

117119

118120
# Determine the Java command to use to start the JVM.
@@ -203,15 +205,15 @@ fi
203205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204206

205207
# Collect all arguments for the java command:
206-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207209
# and any embedded shellness will be escaped.
208210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209211
# treated as '${Hostname}' itself on the command line.
210212

211213
set -- \
212214
"-Dorg.gradle.appname=$APP_BASE_NAME" \
213215
-classpath "$CLASSPATH" \
214-
org.gradle.wrapper.GradleWrapperMain \
216+
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
215217
"$@"
216218

217219
# Stop when "xargs" is not available.

gradlew.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################
@@ -68,11 +70,11 @@ goto fail
6870
:execute
6971
@rem Setup the command line
7072

71-
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73+
set CLASSPATH=
7274

7375

7476
@rem Execute Gradle
75-
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
77+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
7678

7779
:end
7880
@rem End local scope for the variables with windows NT shell

settings.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ plugins {
1313
}
1414

1515
dependencyResolutionManagement {
16-
repositories {
17-
mavenLocal()
18-
}
1916
repositoriesMode = RepositoriesMode.FAIL_ON_PROJECT_REPOS
2017
pluginManagement.repositories.forEach(repositories::add)
2118
}

src/main/java/org/spongepowered/api/advancement/Advancement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/**
4141
* An advancement.
4242
*/
43-
public interface Advancement extends DefaultedRegistryValue, ComponentLike, DataPackSerializable {
43+
public interface Advancement extends DefaultedRegistryValue<Advancement>, ComponentLike, DataPackSerializable {
4444

4545
/**
4646
* Creates a new {@link Builder} to create an {@link Advancement}.

0 commit comments

Comments
 (0)