mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 02:26:00 +01:00
Test making BlueMapCommon and BlueMapCore available to jitpack
This commit is contained in:
parent
1368f86d13
commit
11306ec9cf
@ -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"])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,6 +3,7 @@ import java.io.IOException
|
||||
plugins {
|
||||
java
|
||||
`java-library`
|
||||
`maven-publish`
|
||||
id("com.diffplug.spotless") version "6.1.2"
|
||||
}
|
||||
|
||||
@ -131,4 +132,16 @@ fun zipResourcesTask(resourceId: String) {
|
||||
//always update the zip before build
|
||||
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
2
jitpack.yml
Normal file
@ -0,0 +1,2 @@
|
||||
jdk:
|
||||
- openjdk11
|
Loading…
Reference in New Issue
Block a user