DataLockLib/api/build.gradle.kts

30 lines
670 B
Plaintext
Raw Normal View History

2022-10-19 15:30:58 +00:00
plugins {
2025-06-28 19:50:17 +00:00
id("java-library")
id("maven-publish")
2022-10-19 15:30:58 +00:00
}
2025-06-28 19:50:17 +00:00
// Configure API-specific settings
base {
archivesName.set("DataLockLibApi")
2022-10-19 15:30:58 +00:00
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
2025-06-28 19:50:17 +00:00
artifactId = "api"
2022-10-19 15:30:58 +00:00
from(components["java"])
}
}
2025-06-28 19:50:17 +00:00
repositories {
2022-10-19 15:30:58 +00:00
maven {
2025-06-28 02:20:13 +00:00
name = "nexus"
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
credentials {
2025-06-28 19:50:17 +00:00
username = project.findProperty("alttdDevPublishUser")?.toString()
password = project.findProperty("alttdDevPublishPass")?.toString()
2025-06-28 02:20:13 +00:00
}
2022-10-19 15:30:58 +00:00
}
}
2025-06-28 02:20:13 +00:00
}