EcoEnchants/eco-core/core-plugin/build.gradle.kts
2023-06-03 18:00:57 +01:00

43 lines
1.0 KiB
Plaintext

group = "com.willfp"
version = rootProject.version
dependencies {
compileOnly(fileTree("../../lib") {
include("*.jar")
}
)
compileOnly(project(":eco-core:core-proxy"))
compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT")
compileOnly("net.essentialsx:EssentialsX:2.19.7")
compileOnly("commons-lang:commons-lang:2.6")
}
tasks {
build {
dependsOn("publishToMavenLocal")
}
}
publishing {
publications {
register<MavenPublication>("maven") {
groupId = project.group.toString()
version = project.version.toString()
artifactId = rootProject.name
artifact(rootProject.tasks.shadowJar.get().archiveFile)
}
}
repositories {
maven {
name = "auxilor"
url = uri("https://repo.auxilor.io/repository/maven-releases/")
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}