feat: update plugin to spigot 1.21.1
Some checks failed
Build and Upload JAR / build (push) Failing after 17s
Some checks failed
Build and Upload JAR / build (push) Failing after 17s
This commit is contained in:
10
build.gradle
10
build.gradle
@@ -2,8 +2,8 @@ import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
apply plugin: 'java'
|
||||
|
||||
group = 'net.rawmod'
|
||||
version = '0.1.5'
|
||||
group = 'dev.rawleenc'
|
||||
version = '0.2.0'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -18,10 +18,10 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("org.spigotmc:spigot-api:1.18.2-R0.1-SNAPSHOT")
|
||||
compileOnly("org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
def targetJavaVersion = 17
|
||||
def targetJavaVersion = 21
|
||||
java {
|
||||
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
|
||||
sourceCompatibility = javaVersion
|
||||
@@ -46,4 +46,4 @@ processResources {
|
||||
filesMatching('plugin.yml') {
|
||||
expand props
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user