mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 10:35:16 +01:00
Fix build versions
This commit is contained in:
parent
be04097ec5
commit
57b0dc003e
@ -92,6 +92,7 @@ tasks.test {
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
outputs.upToDateWhen { false }
|
||||
from("src/main/resources") {
|
||||
include("de/bluecolored/bluemap/version.json")
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
|
@ -7,7 +7,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.cli"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 11
|
||||
java {
|
||||
@ -70,9 +70,8 @@ tasks.jar {
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
//relocate ("com.flowpowered.math", "de.bluecolored.shadow.flowpowered.math") //DON"T relocate this, because the API depends on it
|
||||
relocate ("com.google", "de.bluecolored.shadow.google")
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.fabric"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 11
|
||||
java {
|
||||
@ -118,9 +118,8 @@ tasks.shadowJar {
|
||||
}
|
||||
|
||||
tasks.register("remappedShadowJar", type = RemapJarTask::class) {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
dependsOn (tasks.shadowJar)
|
||||
inputFile.set(tasks.shadowJar.get().archiveFile)
|
||||
addNestedDependencies.set(true)
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.fabric"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 11
|
||||
java {
|
||||
@ -118,9 +118,8 @@ tasks.shadowJar {
|
||||
}
|
||||
|
||||
tasks.register("remappedShadowJar", type = RemapJarTask::class) {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
dependsOn (tasks.shadowJar)
|
||||
inputFile.set(tasks.shadowJar.get().archiveFile)
|
||||
addNestedDependencies.set(true)
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.fabric"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 11
|
||||
java {
|
||||
@ -118,9 +118,8 @@ tasks.shadowJar {
|
||||
}
|
||||
|
||||
tasks.register("remappedShadowJar", type = RemapJarTask::class) {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
dependsOn (tasks.shadowJar)
|
||||
inputFile.set(tasks.shadowJar.get().archiveFile)
|
||||
addNestedDependencies.set(true)
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.fabric"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 16
|
||||
java {
|
||||
@ -118,9 +118,8 @@ tasks.shadowJar {
|
||||
}
|
||||
|
||||
tasks.register("remappedShadowJar", type = RemapJarTask::class) {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
dependsOn (tasks.shadowJar)
|
||||
inputFile.set(tasks.shadowJar.get().archiveFile)
|
||||
addNestedDependencies.set(true)
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.fabric"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 17
|
||||
java {
|
||||
@ -118,9 +118,8 @@ tasks.shadowJar {
|
||||
}
|
||||
|
||||
tasks.register("remappedShadowJar", type = RemapJarTask::class) {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
dependsOn (tasks.shadowJar)
|
||||
inputFile.set(tasks.shadowJar.get().archiveFile)
|
||||
addNestedDependencies.set(true)
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.fabric"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 17
|
||||
java {
|
||||
@ -118,9 +118,8 @@ tasks.shadowJar {
|
||||
}
|
||||
|
||||
tasks.register("remappedShadowJar", type = RemapJarTask::class) {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
dependsOn (tasks.shadowJar)
|
||||
inputFile.set(tasks.shadowJar.get().archiveFile)
|
||||
addNestedDependencies.set(true)
|
||||
|
@ -20,7 +20,7 @@ plugins {
|
||||
apply plugin: "net.minecraftforge.gradle"
|
||||
|
||||
group = "de.bluecolored.bluemap.forge"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
archivesBaseName = 'bluemap'
|
||||
|
||||
def javaTarget = 11
|
||||
@ -119,9 +119,8 @@ test {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
def version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
configurations = [project.configurations.shadowInclude]
|
||||
|
||||
|
@ -20,7 +20,7 @@ plugins {
|
||||
apply plugin: "net.minecraftforge.gradle"
|
||||
|
||||
group = "de.bluecolored.bluemap.forge"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
archivesBaseName = 'bluemap'
|
||||
|
||||
def javaTarget = 11
|
||||
@ -119,9 +119,8 @@ test {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
def version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
configurations = [project.configurations.shadowInclude]
|
||||
|
||||
|
@ -20,7 +20,7 @@ plugins {
|
||||
apply plugin: "net.minecraftforge.gradle"
|
||||
|
||||
group = "de.bluecolored.bluemap.forge"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
archivesBaseName = 'bluemap'
|
||||
|
||||
def javaTarget = 11
|
||||
@ -119,9 +119,8 @@ test {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
def version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
configurations = [project.configurations.shadowInclude]
|
||||
|
||||
|
@ -20,7 +20,7 @@ plugins {
|
||||
apply plugin: "net.minecraftforge.gradle"
|
||||
|
||||
group = "de.bluecolored.bluemap.forge"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
archivesBaseName = 'bluemap'
|
||||
|
||||
def javaTarget = 16
|
||||
@ -119,9 +119,8 @@ test {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
def version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
configurations = [project.configurations.shadowInclude]
|
||||
|
||||
|
@ -20,7 +20,7 @@ plugins {
|
||||
apply plugin: "net.minecraftforge.gradle"
|
||||
|
||||
group = "de.bluecolored.bluemap.forge"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
archivesBaseName = 'bluemap'
|
||||
|
||||
def javaTarget = 17
|
||||
@ -119,9 +119,8 @@ test {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
def version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
configurations = [project.configurations.shadowInclude]
|
||||
|
||||
|
@ -20,7 +20,7 @@ plugins {
|
||||
apply plugin: "net.minecraftforge.gradle"
|
||||
|
||||
group = "de.bluecolored.bluemap.forge"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
archivesBaseName = 'bluemap'
|
||||
|
||||
def javaTarget = 17
|
||||
@ -121,7 +121,7 @@ test {
|
||||
shadowJar {
|
||||
def version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
configurations = [project.configurations.shadowInclude]
|
||||
|
||||
|
@ -7,7 +7,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.bukkit"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 11
|
||||
java {
|
||||
@ -85,9 +85,8 @@ tasks.processResources {
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
//relocate ("com.flowpowered.math", "de.bluecolored.shadow.flowpowered.math") //DON"T relocate this, because the API depends on it
|
||||
relocate ("com.typesafe.config", "de.bluecolored.shadow.typesafe.config")
|
||||
|
@ -10,7 +10,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "de.bluecolored.bluemap.bukkit"
|
||||
version = "0.0.0"
|
||||
version = System.getProperty("bluemap.version") ?: "?" // set by BlueMapCore
|
||||
|
||||
val javaTarget = 16
|
||||
java {
|
||||
@ -102,9 +102,8 @@ tasks.processResources {
|
||||
}
|
||||
|
||||
tasks.shadowJar {
|
||||
val version = System.getProperty("bluemap.version") ?: "" // set by BlueMapCore
|
||||
destinationDirectory.set(file("../../build/release"))
|
||||
archiveFileName.set("BlueMap-${version}-${project.name}.jar")
|
||||
archiveFileName.set("BlueMap-${project.version}-${project.name}.jar")
|
||||
|
||||
//relocate ("com.flowpowered.math", "de.bluecolored.shadow.flowpowered.math") //DON"T relocate this, because the API depends on it
|
||||
relocate ("net.querz.nbt", "de.bluecolored.shadow.querz.nbt")
|
||||
|
Loading…
Reference in New Issue
Block a user