mirror of
https://github.com/Auxilor/EcoJobs.git
synced 2025-12-22 16:39:34 +00:00
41 lines
1001 B
Plaintext
41 lines
1001 B
Plaintext
group = "com.willfp"
|
|
version = rootProject.version
|
|
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT")
|
|
compileOnly("com.github.ben-manes.caffeine:caffeine:3.0.5")
|
|
|
|
implementation("com.willfp:ecomponent:1.3.0")
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
register<MavenPublication>("maven") {
|
|
groupId = project.group.toString()
|
|
version = project.version.toString()
|
|
artifactId = rootProject.name
|
|
|
|
artifact(rootProject.tasks.shadowJar.get().archiveFile)
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
name = "auxilor"
|
|
url = uri("https://repo.auxilor.io/repository/maven-releases/")
|
|
credentials {
|
|
username = System.getenv("MAVEN_USERNAME")
|
|
password = System.getenv("MAVEN_PASSWORD")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks {
|
|
build {
|
|
dependsOn(publishToMavenLocal)
|
|
}
|
|
}
|