mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
e519a51f95
This allows creating paperclip jars pre-patch (only the reobf'd jar for now).
33 lines
671 B
Plaintext
33 lines
671 B
Plaintext
plugins {
|
|
`java-library`
|
|
`maven-publish`
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
withJavadocJar()
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://libraries.minecraft.net")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":paper-api"))
|
|
api("com.mojang:brigadier:1.0.18")
|
|
|
|
compileOnly("it.unimi.dsi:fastutil:8.2.2")
|
|
compileOnly("org.jetbrains:annotations:18.0.0")
|
|
|
|
testImplementation("junit:junit:4.13.1")
|
|
testImplementation("org.hamcrest:hamcrest-library:1.3")
|
|
testImplementation("org.ow2.asm:asm-tree:7.3.1")
|
|
}
|
|
|
|
configure<PublishingExtension> {
|
|
publications.create<MavenPublication>("maven") {
|
|
from(components["java"])
|
|
}
|
|
}
|