2023-03-18 16:02:31 +01:00
|
|
|
group = "com.willfp"
|
|
|
|
version = rootProject.version
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly(fileTree("../../lib") {
|
|
|
|
include("*.jar")
|
|
|
|
}
|
|
|
|
)
|
|
|
|
compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT")
|
|
|
|
compileOnly("net.essentialsx:EssentialsX:2.19.7")
|
2023-03-18 16:06:02 +01:00
|
|
|
compileOnly("commons-lang:commons-lang:2.6")
|
2023-03-18 16:02:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
build {
|
|
|
|
dependsOn("publishToMavenLocal")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
2023-06-03 19:00:57 +02:00
|
|
|
register<MavenPublication>("maven") {
|
|
|
|
groupId = project.group.toString()
|
|
|
|
version = project.version.toString()
|
2023-03-28 15:54:48 +02:00
|
|
|
artifactId = rootProject.name
|
2023-06-03 19:00:57 +02:00
|
|
|
|
|
|
|
artifact(rootProject.tasks.shadowJar.get().archiveFile)
|
2023-03-18 16:02:31 +01:00
|
|
|
}
|
|
|
|
}
|
2023-03-29 14:37:33 +02:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = "auxilor"
|
|
|
|
url = uri("https://repo.auxilor.io/repository/maven-releases/")
|
|
|
|
credentials {
|
|
|
|
username = System.getenv("MAVEN_USERNAME")
|
|
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-03-18 16:02:31 +01:00
|
|
|
}
|