Gradle: PacketEvents 2.4.0 & Spigot 1.21
This commit is contained in:
parent
a5a6c21f6a
commit
411bcc4ba8
2 changed files with 5 additions and 5 deletions
|
@ -11,14 +11,14 @@ allprojects {
|
||||||
"net.kyori:adventure-text-serializer-legacy:${adventureVersion}",
|
"net.kyori:adventure-text-serializer-legacy:${adventureVersion}",
|
||||||
"net.kyori:adventure-nbt:${adventureVersion}"]
|
"net.kyori:adventure-nbt:${adventureVersion}"]
|
||||||
|
|
||||||
project.ext.peVersion = '2.3.0'
|
project.ext.peVersion = '2.4.0'
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'java-library'
|
apply plugin: 'java-library'
|
||||||
apply plugin: 'maven-publish'
|
apply plugin: 'maven-publish'
|
||||||
|
|
||||||
group = 'me.tofaa.entitylib'
|
group = 'me.tofaa.entitylib'
|
||||||
version = '2.0-SNAPSHOT'
|
version = '2.3.1-SNAPSHOT'
|
||||||
|
|
||||||
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
java.sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
java.targetCompatibility = JavaVersion.VERSION_1_8
|
java.targetCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
@ -61,6 +61,6 @@ allprojects {
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnlyApi 'com.github.retrooper.packetevents:spigot:${project.ext.peVersion}'
|
compileOnlyApi 'com.github.retrooper:packetevents-spigot:${project.ext.peVersion}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":common"))
|
api(project(":common"))
|
||||||
compileOnly('com.github.retrooper.packetevents:spigot:' + peVersion)
|
compileOnly('com.github.retrooper:packetevents-spigot:' + peVersion)
|
||||||
compileOnly('org.spigotmc:spigot-api:1.20.1-R0.1-SNAPSHOT')
|
compileOnly('org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue