diff --git a/build.gradle.kts b/build.gradle.kts index 35f75fc..3d8a7e9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ import java.io.IOException plugins { java `java-library` - //`maven-publish` + `maven-publish` id("com.diffplug.spotless") version "6.1.2" } @@ -94,25 +94,3 @@ tasks.processResources { ) } } - -/* -publishing { - repositories { - maven { - name = "GitHubPackages" - url = uri("https://maven.pkg.github.com/BlueMap-Minecraft/BlueMapAPI") - credentials { - username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_USERNAME") - password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN") - } - } - } - - publications { - register("gpr") { - from(components["java"]) - artifactId = "bluemap_api" - } - } -} -*/