39 lines
704 B
Groovy
39 lines
704 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'xyz.jpenilla.run-paper' version "1.0.6"
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven {
|
|
url = uri('https://hub.spigotmc.org/nexus/content/repositories/snapshots/')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://oss.sonatype.org/content/groups/public/')
|
|
}
|
|
|
|
maven {
|
|
url = uri('https://repo.maven.apache.org/maven2/')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spigotmc:spigot-api:1.19-R0.1-SNAPSHOT'
|
|
}
|
|
|
|
group = 'net.nevet5gi'
|
|
version = '1.0.0'
|
|
description = 'SimpleTTT'
|
|
java.sourceCompatibility = JavaVersion.VERSION_17
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
tasks {
|
|
runServer {
|
|
minecraftVersion("1.19")
|
|
}
|
|
}
|