We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4ae15a commit 10618d6Copy full SHA for 10618d6
1 file changed
build.gradle.kts
@@ -254,3 +254,15 @@ java {
254
sourceCompatibility = JavaVersion.VERSION_21
255
targetCompatibility = JavaVersion.VERSION_21
256
}
257
+
258
+publishing {
259
+ publications {
260
+ create<MavenPublication>("maven") {
261
+ groupId = mavenGroup
262
+ artifactId = modId
263
+ version = "$modVersion+$minecraftVersion"
264
265
+ from(components["java"])
266
+ }
267
268
+}
0 commit comments