mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-25 15:35:11 +01:00
43 lines
1.0 KiB
Plaintext
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")
|
|
}
|
|
}
|
|
}
|
|
}
|