aboutsummaryrefslogtreecommitdiffhomepage
path: root/Paper-MojangAPI/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'Paper-MojangAPI/build.gradle.kts')
-rw-r--r--Paper-MojangAPI/build.gradle.kts12
1 files changed, 12 insertions, 0 deletions
diff --git a/Paper-MojangAPI/build.gradle.kts b/Paper-MojangAPI/build.gradle.kts
index 854971e10d..ac4988698e 100644
--- a/Paper-MojangAPI/build.gradle.kts
+++ b/Paper-MojangAPI/build.gradle.kts
@@ -25,6 +25,18 @@ dependencies {
testImplementation("org.ow2.asm:asm-tree:7.3.1")
}
+configurations {
+ val outgoing = arrayOf(runtimeElements, apiElements, named("sourcesElements"), named("javadocElements"))
+ for (config in outgoing) {
+ config {
+ outgoing {
+ capability("${project.group}:${project.name}:${project.version}")
+ capability("com.destroystokyo.paper:paper-mojangapi:${project.version}")
+ }
+ }
+ }
+}
+
configure<PublishingExtension> {
publications.create<MavenPublication>("maven") {
from(components["java"])