76 lines
1.9 KiB
Plaintext
76 lines
1.9 KiB
Plaintext
/*
|
|
* This file was generated by the Gradle 'init' task.
|
|
*/
|
|
val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME")
|
|
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD")
|
|
|
|
plugins {
|
|
java
|
|
`maven-publish`
|
|
}
|
|
|
|
repositories {
|
|
// mavenLocal()
|
|
|
|
maven {
|
|
name = "userderezzedRepoSnapshots"
|
|
url = uri("https://repo.userderezzed.dev/snapshots")
|
|
}
|
|
|
|
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.alttd.com/repository/alttd-snapshot/")
|
|
credentials {
|
|
username = nexusUser
|
|
password = nexusPass
|
|
}
|
|
}
|
|
|
|
maven {
|
|
url = uri("https://jitpack.io")
|
|
}
|
|
|
|
maven {
|
|
url = uri("https://repo.maven.apache.org/maven2/")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("com.alttd.cosmos:cosmos-api:1.21.11-R0.1-SNAPSHOT")
|
|
implementation("de.keyle:mypet-api:3.14.2-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.14")
|
|
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")
|
|
} |