150150` ) ;
151151 const package = $plugin . package . value ( )
152152 push ( 'build.gradle.kts' ,
153- `import java.util.*
154-
155- plugins {
153+ `plugins {
156154 java
157155 ` + '`maven-publish`' + `
158156 id ("com.github.johnrengelman.shadow") version "7.0.0"
@@ -166,9 +164,6 @@ val shadowGroup = "${$depend.shadowTarget.value()}"
166164repositories {
167165 mavenLocal()
168166 mavenCentral()
169- if (Locale.getDefault().country == "CN") {
170- maven("https://maven.fastmirror.net/repositories/minecraft/")
171- }
172167 maven("https://repo.codemc.io/repository/maven-public/")
173168 maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")`
174169+ ( $depend . paper . value ( ) ? `
@@ -179,8 +174,6 @@ repositories {
179174 maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
180175 maven("https://jitpack.io")
181176 maven("https://repo.rosewooddev.io/repository/public/")
182- maven("https://s01.oss.sonatype.org/content/groups/public/")
183- maven("https://oss.sonatype.org/content/groups/public/")
184177}
185178
186179dependencies {
@@ -198,16 +191,16 @@ dependencies {
198191 compileOnly("org.black_ixx:playerpoints:3.2.7")
199192` : '' ) + `
200193` + ( $depend . adventure . value ( ) ? `
201- implementation("net.kyori:adventure-api:4.17 .0")
194+ implementation("net.kyori:adventure-api:4.20 .0")
202195 implementation("net.kyori:adventure-platform-bukkit:4.3.4")
203- implementation("net.kyori:adventure-text-minimessage:4.17 .0")` : ''
196+ implementation("net.kyori:adventure-text-minimessage:4.20 .0")` : ''
204197) + ( $depend . nbtapi . value ( ) ? `
205- implementation("de.tr7zw:item-nbt-api:2.14.1 ")` : ''
198+ implementation("de.tr7zw:item-nbt-api:2.15.0 ")` : ''
206199) + ( $depend . hikariCP . value ( ) ? `
207200 implementation("com.zaxxer:HikariCP:4.0.3") { isTransitive = false }` : ''
208201) + `
209202 implementation("org.jetbrains:annotations:24.0.0")
210- implementation("top.mrxiaom:PluginBase:1.3.4 ")
203+ implementation("top.mrxiaom:PluginBase:1.4.0 ")
211204}
212205java {
213206 val javaVersion = JavaVersion.toVersion(targetJavaVersion)
0 commit comments