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'
|
||||
version = '1.0-SNAPSHOT'
|
||||
// java 17
|
||||
// java 21
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(17))
|
||||
languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,16 +31,16 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly('org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT')
|
||||
compileOnly('com.github.retrooper.packetevents:spigot:2.3.0')
|
||||
compileOnly('org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT')
|
||||
compileOnly('com.github.retrooper:packetevents-spigot:' + peVersion)
|
||||
// implementation(project(":platforms:spigot"))
|
||||
implementation(project(":platforms:spigot"))
|
||||
}
|
||||
|
||||
|
||||
runServer {
|
||||
minecraftVersion("1.20.4")
|
||||
minecraftVersion("1.21")
|
||||
downloadPlugins {
|
||||
modrinth("packetevents", "6Rjr7zyF")
|
||||
modrinth("packetevents", "MfD5eOYA")
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@ version: 1.0.0
|
|||
depend:
|
||||
- packetevents
|
||||
main: me.tofaa.testentitylib.TestEntityLibPlugin
|
||||
api-version: "1.19"
|
||||
api-version: "1.21"
|
||||
commands:
|
||||
testapi:
|
||||
description: Test EntityLib API
|
||||
|
|
Loading…
Reference in a new issue