Test making BlueMapCommon and BlueMapCore available to jitpack

This commit is contained in:
Lukas Rieger (Blue) 2022-12-04 00:18:45 +01:00
parent 1368f86d13
commit 11306ec9cf
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
3 changed files with 29 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import java.io.IOException
plugins {
java
`java-library`
`maven-publish`
id("com.diffplug.spotless") version "6.1.2"
id ("com.github.node-gradle.node") version "3.0.1"
}
@ -96,3 +97,15 @@ tasks.register("zipWebapp", type = Zip::class) {
tasks.processResources {
dependsOn("zipWebapp")
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
from(components["java"])
}
}
}

View File

@ -3,6 +3,7 @@ import java.io.IOException
plugins {
java
`java-library`
`maven-publish`
id("com.diffplug.spotless") version "6.1.2"
}
@ -132,3 +133,15 @@ fun zipResourcesTask(resourceId: String) {
tasks.processResources {
dependsOn("zipResourceExtensions")
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = project.group.toString()
artifactId = project.name
version = project.version.toString()
from(components["java"])
}
}
}

2
jitpack.yml Normal file
View File

@ -0,0 +1,2 @@
jdk:
- openjdk11