Commit so i can branch it.
This commit is contained in:
19
build.gradle
19
build.gradle
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id("xyz.jpenilla.run-paper") version "2.3.1"
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group = 'me.trouper'
|
||||
@@ -24,9 +25,6 @@ dependencies {
|
||||
|
||||
tasks {
|
||||
runServer {
|
||||
// Configure the Minecraft version for our task.
|
||||
// This is the only required configuration besides applying the plugin.
|
||||
// Your plugin's jar (or shadowJar if present) will be used automatically.
|
||||
minecraftVersion("1.21.5")
|
||||
}
|
||||
}
|
||||
@@ -57,3 +55,18 @@ processResources {
|
||||
expand props
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
groupId = project.group
|
||||
artifactId = 'alias'
|
||||
version = project.version
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user