Tentative JitPack build fix

This commit is contained in:
Lukas Rieger (Blue) 2022-10-13 21:36:17 +02:00
parent 58d8edf48e
commit 2502f3b442
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -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<MavenPublication>("gpr") {
from(components["java"])
artifactId = "bluemap_api"
}
}
}
*/