30 lines
670 B
Plaintext
30 lines
670 B
Plaintext
plugins {
|
|
id("java-library")
|
|
id("maven-publish")
|
|
}
|
|
|
|
// Configure API-specific settings
|
|
base {
|
|
archivesName.set("DataLockLibApi")
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("mavenJava") {
|
|
artifactId = "api"
|
|
from(components["java"])
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
name = "nexus"
|
|
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
|
credentials {
|
|
username = project.findProperty("alttdDevPublishUser")?.toString()
|
|
password = project.findProperty("alttdDevPublishPass")?.toString()
|
|
}
|
|
}
|
|
}
|
|
}
|