AlttdGriefPrevention/build.gradle.kts
2024-07-20 16:54:10 +02:00

68 lines
1.5 KiB
Plaintext

/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
java
`maven-publish`
}
repositories {
// mavenLocal()
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
maven {
url = uri("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}
maven {
url = uri("https://maven.enginehub.org/repo/")
}
maven {
url = uri("https://ci.ender.zone/plugin/repository/everything/")
}
maven {
url = uri("https://repo.destro.xyz/snapshots")
}
maven {
url = uri("https://jitpack.io")
}
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}
dependencies {
compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT")
compileOnly("de.keyle:mypet:3.11-SNAPSHOT")
compileOnly("com.github.NeumimTo:Pl3xMap:1.18-2")
testImplementation("org.junit.jupiter:junit-jupiter:5.7.0")
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT")
compileOnly("net.milkbowl.vault:VaultAPI:1.7")
compileOnly("org.jetbrains:annotations:23.0.0")
}
group = "com.griefprevention"
version = "16.18-RC2-SNAPSHOT"
description = "GriefPrevention"
java.sourceCompatibility = JavaVersion.VERSION_21
publishing {
publications.create<MavenPublication>("maven") {
from(components["java"])
}
}
tasks.withType<JavaCompile>() {
options.encoding = "UTF-8"
}
tasks.jar {
archiveFileName.set("${rootProject.name}.jar")
}