From 272375ff5439fa65d2a8e0fd308bd2c6abe3a79a Mon Sep 17 00:00:00 2001 From: Color_yr <402067010@qq.com> Date: Thu, 25 Dec 2025 11:43:01 +0800 Subject: [PATCH] ? --- folia/build.gradle | 4 ++-- forge_1_16_5/build.gradle | 9 ++++----- server_top/build.gradle | 12 +++--------- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/folia/build.gradle b/folia/build.gradle index 0c0078d2..907e44ce 100644 --- a/folia/build.gradle +++ b/folia/build.gradle @@ -48,9 +48,9 @@ repositories { dependencies { compileOnly 'io.netty:netty-all:4.1.109.Final' - compileOnly 'dev.folia:folia-api:+' + compileOnly 'dev.folia:folia-api:1.21.6-R0.1-SNAPSHOT' compileOnly "com.github.MilkBowl:VaultAPI:1.7.1" - compileOnly 'me.clip:placeholderapi:+' + compileOnly 'me.clip:placeholderapi:2.11.7' implementation 'com.squareup.okhttp3:okhttp:5.3.2' } diff --git a/forge_1_16_5/build.gradle b/forge_1_16_5/build.gradle index 1a4de94c..37cd3870 100644 --- a/forge_1_16_5/build.gradle +++ b/forge_1_16_5/build.gradle @@ -5,7 +5,6 @@ buildscript { } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0" } } @@ -17,7 +16,6 @@ apply plugin: 'net.minecraftforge.gradle' // Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. apply plugin: 'eclipse' apply plugin: 'maven-publish' -apply plugin: 'kotlin' def getVersionFromFile() { def versionFile = file('../version') @@ -147,9 +145,10 @@ dependencies { // The userdev artifact is a special name and will get all sorts of transformations applied to it. minecraft 'net.minecraftforge:forge:1.16.5-36.2.39' - implementation 'thedarkcolour:kotlinforforge:1.16.0' + implementation 'thedarkcolour:kotlinforforge:1.17.0' shadow 'com.squareup.okhttp3:okhttp:5.3.2' + shadow('com.squareup.okio:okio-jvm:3.16.4') shadow 'org.xerial:sqlite-jdbc:3.51.1.0' // You may put jars on which you depend on in ./libs or you may define them like so.. @@ -182,8 +181,8 @@ shadowJar { archiveClassifier.set('') dependencies { include(dependency('com.squareup.okhttp3:okhttp:5.3.2')) - include(dependency('com.squareup.okio:okio-jvm:3.0.0')) - include(dependency('org.xerial:sqlite-jdbc:3.42.0.0')) + include(dependency('com.squareup.okio:okio-jvm:3.16.4')) + include(dependency('org.xerial:sqlite-jdbc:3.51.1.0')) } } diff --git a/server_top/build.gradle b/server_top/build.gradle index 6b46fb5b..a7cff631 100644 --- a/server_top/build.gradle +++ b/server_top/build.gradle @@ -37,27 +37,21 @@ repositories { url 'https://maven.citizensnpcs.co/repo' } maven { - name 'velocity' - url 'https://nexus.velocitypowered.com/repository/maven-public/' + name = 'papermc' + url = 'https://repo.papermc.io/repository/maven-public/' } } dependencies { - //implementation "org.apache.commons:commons-dbcp2:2.9.0" - //implementation 'mysql:mysql-connector-java:8.0.31' - - //compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT' compileOnly 'net.md-5:bungeecord-api:1.20-R0.1-SNAPSHOT' compileOnly "com.github.MilkBowl:VaultAPI:1.7.1" - compileOnly 'com.velocitypowered:velocity-api:3.0.0' compileOnly 'me.clip:placeholderapi:2.11.6' - //compileOnly 'net.citizensnpcs:citizens-main:2.0.30-SNAPSHOT' -// compileOnly fileTree(dir:'lib',include:['*.jar']) implementation 'org.xerial:sqlite-jdbc:3.46.0.1' compile 'com.squareup.okhttp3:okhttp:5.3.2' compile 'com.google.code.gson:gson:2.11.0' + compileOnly 'com.velocitypowered:velocity-api:3.0.0' annotationProcessor 'com.velocitypowered:velocity-api:3.0.0' }