mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-21 14:55:17 +01:00
42 lines
1005 B
Plaintext
42 lines
1005 B
Plaintext
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")
|
|
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")
|
|
}
|
|
}
|
|
}
|
|
}
|