mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-15 23:20:44 +00:00
30 lines
563 B
Kotlin
30 lines
563 B
Kotlin
subprojects {
|
|
apply<JavaPlugin>()
|
|
apply<MavenPublishPlugin>()
|
|
|
|
group = "net.civmc"
|
|
version = "3.0.0-SNAPSHOT"
|
|
description = "NameLayer"
|
|
|
|
configure<PublishingExtension> {
|
|
repositories {
|
|
maven {
|
|
name = "GitHubPackages"
|
|
url = uri("https://maven.pkg.github.com/CivMC/NameLayer")
|
|
credentials {
|
|
username = System.getenv("GITHUB_ACTOR")
|
|
password = System.getenv("GITHUB_TOKEN")
|
|
}
|
|
}
|
|
}
|
|
configure<PublishingExtension> {
|
|
publications {
|
|
register<MavenPublication>("gpr") {
|
|
from(components["java"])
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|