feat: update to 26.1.2 and use modern API
This commit is contained in:
parent
a2df8bbe7d
commit
4f5818c272
7 changed files with 18 additions and 67 deletions
|
|
@ -3,7 +3,7 @@ plugins {
|
|||
}
|
||||
|
||||
group = 'xyz.hynse'
|
||||
version = "2.4"
|
||||
version = "3.0"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
@ -14,10 +14,10 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "dev.folia:folia-api:1.20.4-R0.1-SNAPSHOT"
|
||||
compileOnly "io.papermc.paper:paper-api:26.1.2.build.+"
|
||||
}
|
||||
|
||||
def targetJavaVersion = 17
|
||||
def targetJavaVersion = 25
|
||||
java {
|
||||
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
|
||||
sourceCompatibility = javaVersion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue