Skip to content

Commit 7848e21

Browse files
authored
Merge pull request #287 from 0xSoul24/develop
2 parents 8238d9b + a8c2dd5 commit 7848e21

File tree

11 files changed

+32
-21
lines changed

11 files changed

+32
-21
lines changed

build.gradle.kts

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
`java-library`
3-
id("io.papermc.paperweight.userdev") version "2.0.0-beta.11"
3+
id("io.papermc.paperweight.userdev") version "2.0.0-beta.13"
44
id("xyz.jpenilla.run-paper") version "2.3.1" // Adds runServer and runMojangMappedServer tasks for testing
55
}
66

@@ -67,7 +67,7 @@ configure(subprojects.filter {
6767
configure(subprojects.filter {
6868
listOf("vane-regions", "vane-core", "vane-portals", "vane-regions").contains(it.name)
6969
}) {
70-
tasks.create<Copy>("copyJar") {
70+
tasks.register<Copy>("copyJar") {
7171
evaluationDependsOn(project.path)
7272
from(tasks.findByPath("shadowJar"))
7373
into("${project.rootProject.projectDir}/target")
@@ -79,7 +79,7 @@ configure(subprojects.filter {
7979
configure(subprojects.filter {
8080
listOf("vane-admin", "vane-bedtime", "vane-enchantments", "vane-permissions", "vane-trifles").contains(it.name)
8181
}) {
82-
tasks.create<Copy>("copyJar") {
82+
tasks.register<Copy>("copyJar") {
8383
from(tasks.jar)
8484
into("${project.rootProject.projectDir}/target")
8585
rename("(.+)-dev.jar", "$1.jar")
@@ -149,35 +149,35 @@ runPaper {
149149
disablePluginJarDetection()
150150
}
151151

152-
tasks.create<Delete>("cleanVaneRuntimeTranslations") {
152+
tasks.register<Delete>("cleanVaneRuntimeTranslations") {
153153
group = "run paper"
154154
delete(fileTree("run").matching {
155155
include("plugins/vane-*/lang-*.yml")
156156
})
157157
}
158158

159-
tasks.create<Delete>("cleanVaneConfigurations") {
159+
tasks.register<Delete>("cleanVaneConfigurations") {
160160
group = "run paper"
161161
delete(fileTree("run").matching {
162162
include("plugins/vane-*/config.yml")
163163
})
164164
}
165165

166-
tasks.create<Delete>("cleanVaneStorage") {
166+
tasks.register<Delete>("cleanVaneStorage") {
167167
group = "run paper"
168168
delete(fileTree("run").matching {
169169
include("plugins/vane-*/storage.json")
170170
})
171171
}
172172

173-
tasks.create<Delete>("cleanVane") {
173+
tasks.register<Delete>("cleanVane") {
174174
group = "run paper"
175175
delete(fileTree("run").matching {
176176
include("plugins/vane-*/")
177177
})
178178
}
179179

180-
tasks.create<Delete>("cleanWorld") {
180+
tasks.register<Delete>("cleanWorld") {
181181
group = "run paper"
182182
delete(fileTree("run").matching {
183183
include(

gradle/wrapper/gradle-wrapper.jar

130 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

+1-1
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.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

+5-3
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
#
@@ -23,7 +25,7 @@
2325
# Important for running:
2426
#
2527
# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is
26-
# non-compliant, but you have some other compliant shell such as ksh or
28+
# noncompliant, but you have some other compliant shell such as ksh or
2729
# bash, then to run this script, type that shell name before the whole
2830
# command line, like:
2931
#
@@ -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

gradlew.bat

+2
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 ##########################################################################

vane-core/build.gradle.kts

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ sourceSets {
1414
}
1515
}
1616
}
17+
1718
dependencies {
1819
implementation(group = "org.bstats", name = "bstats-base", version = "3.1.0")
1920
implementation(group = "org.bstats", name = "bstats-bukkit", version = "3.1.0")
2021
implementation(group = "org.reflections", name = "reflections", version = "0.10.2")
21-
api(group = "org.json", name = "json", version = "20240303")
22+
api(group = "org.json", name = "json", version = "20250107")
2223
implementation(project(":vane-annotations"))
2324
}
2425

vane-portals/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
dependencies {
6-
compileOnly(group = "org.json", name = "json", version = "20240303")
6+
compileOnly(group = "org.json", name = "json", version = "20250107")
77
}
88

99
tasks {

vane-proxy-core/build.gradle.kts

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
plugins {
22
id("io.github.goooler.shadow") version "8.1.8"
3-
id("net.kyori.blossom") version "1.2.0"
3+
id("net.kyori.blossom") version "2.1.0"
44
}
55

6-
blossom {
7-
replaceToken("\$VERSION", project.version)
6+
sourceSets {
7+
main {
8+
blossom {
9+
javaSources {
10+
property("\$VERSION", project.version.toString())
11+
}
12+
}
13+
}
814
}
915

1016
dependencies {
1117
implementation(group = "com.electronwill.night-config", name = "toml", version = "3.8.1")
1218
implementation(group = "org.slf4j", name = "slf4j-api", version = "2.0.16")
1319
implementation(rootProject.project(":vane-core"))
14-
compileOnly(group = "org.json", name = "json", version = "20240303")
20+
compileOnly(group = "org.json", name = "json", version = "20250107")
1521
}
1622

1723
java {

vane-regions/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
dependencies {
66
implementation(project(":vane-portals"))
77
compileOnly(group = "com.github.MilkBowl", name = "VaultAPI", version = "1.7.1")
8-
compileOnly(group = "org.json", name = "json", version = "20240303")
8+
compileOnly(group = "org.json", name = "json", version = "20250107")
99
}
1010

1111
tasks {

vane-velocity/build.gradle.kts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies {
88
annotationProcessor(group = "com.velocitypowered", name = "velocity-api", version = "3.4.0-SNAPSHOT")
99
implementation(group = "org.bstats", name = "bstats-velocity", version = "3.1.0")
1010
implementation(group = "org.bstats", name = "bstats-base", version = "3.1.0")
11-
implementation(group = "org.json", name = "json", version = "20240303")
11+
implementation(group = "org.json", name = "json", version = "20250107")
1212
implementation(rootProject.project(":vane-core"))
1313
implementation(rootProject.project(":vane-proxy-core"))
1414
}
@@ -19,7 +19,7 @@ java {
1919
}
2020
}
2121

22-
tasks.create<Copy>("copyJar") {
22+
tasks.register<Copy>("copyJar") {
2323
from(tasks.shadowJar)
2424
into("${project.rootProject.projectDir}/target")
2525
duplicatesStrategy = DuplicatesStrategy.INCLUDE
Binary file not shown.

0 commit comments

Comments
 (0)