test-plugin: Use 1.21 & packetevents 2.4.0
This commit is contained in:
parent
bf191048cc
commit
f4b2a059ed
2 changed files with 7 additions and 7 deletions
|
@ -7,10 +7,10 @@ plugins {
|
||||||
|
|
||||||
group = 'me.tofaa.peentitymeta'
|
group = 'me.tofaa.peentitymeta'
|
||||||
version = '1.0-SNAPSHOT'
|
version = '1.0-SNAPSHOT'
|
||||||
// java 17
|
// java 21
|
||||||
java {
|
java {
|
||||||
toolchain {
|
toolchain {
|
||||||
languageVersion.set(JavaLanguageVersion.of(17))
|
languageVersion.set(JavaLanguageVersion.of(21))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,16 +31,16 @@ repositories {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly('org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT')
|
compileOnly('org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT')
|
||||||
compileOnly('com.github.retrooper.packetevents:spigot:2.3.0')
|
compileOnly('com.github.retrooper:packetevents-spigot:' + peVersion)
|
||||||
// implementation(project(":platforms:spigot"))
|
// implementation(project(":platforms:spigot"))
|
||||||
implementation(project(":platforms:spigot"))
|
implementation(project(":platforms:spigot"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
runServer {
|
runServer {
|
||||||
minecraftVersion("1.20.4")
|
minecraftVersion("1.21")
|
||||||
downloadPlugins {
|
downloadPlugins {
|
||||||
modrinth("packetevents", "6Rjr7zyF")
|
modrinth("packetevents", "MfD5eOYA")
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -3,7 +3,7 @@ version: 1.0.0
|
||||||
depend:
|
depend:
|
||||||
- packetevents
|
- packetevents
|
||||||
main: me.tofaa.testentitylib.TestEntityLibPlugin
|
main: me.tofaa.testentitylib.TestEntityLibPlugin
|
||||||
api-version: "1.19"
|
api-version: "1.21"
|
||||||
commands:
|
commands:
|
||||||
testapi:
|
testapi:
|
||||||
description: Test EntityLib API
|
description: Test EntityLib API
|
||||||
|
|
Loading…
Reference in a new issue