aboutsummaryrefslogtreecommitdiffhomepage
path: root/settings.gradle.kts
diff options
context:
space:
mode:
authorJason <[email protected]>2023-02-27 15:30:04 -0700
committerGitHub <[email protected]>2023-02-27 15:30:04 -0700
commit83a1304b372d99e78228e7a56af9bd83f82a6fdb (patch)
treed90c2105f6999d052838af25c77e54c30a0c158a /settings.gradle.kts
parentad3e1bc12104f1f8ea8bcf9248a606133bfc7780 (diff)
downloadPaper-83a1304b372d99e78228e7a56af9bd83f82a6fdb.tar.gz
Paper-83a1304b372d99e78228e7a56af9bd83f82a6fdb.zip
[ci skip] Update Gradle wrapper to 8.0.1 (#8924)
Diffstat (limited to 'settings.gradle.kts')
-rw-r--r--settings.gradle.kts18
1 files changed, 11 insertions, 7 deletions
diff --git a/settings.gradle.kts b/settings.gradle.kts
index 4ca4fb475e..14fc637946 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -1,5 +1,16 @@
import java.util.Locale
+pluginManagement {
+ repositories {
+ gradlePluginPortal()
+ maven("https://repo.papermc.io/repository/maven-public/")
+ }
+}
+
+plugins {
+ id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0"
+}
+
if (!file(".git").exists()) {
val errorText = """
@@ -20,13 +31,6 @@ if (!file(".git").exists()) {
error(errorText)
}
-pluginManagement {
- repositories {
- gradlePluginPortal()
- maven("https://repo.papermc.io/repository/maven-public/")
- }
-}
-
rootProject.name = "paper"
for (name in listOf("Paper-API", "Paper-Server", "Paper-MojangAPI")) {