mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 18:17:37 +01:00
set correct artifact paths
This commit is contained in:
parent
db406e2f5d
commit
758fda0e54
@ -14,8 +14,8 @@ sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version + "+" + project.minecraft_version
|
||||
group = project.maven_group
|
||||
version = parent.version
|
||||
group = parent.group
|
||||
|
||||
configurations {
|
||||
shadow
|
||||
@ -75,23 +75,12 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
// add all the jars that should be included when publishing to maven
|
||||
artifact(remapJar) {
|
||||
builtBy remapJar
|
||||
}
|
||||
artifact(sourcesJar) {
|
||||
builtBy remapSourcesJar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// select the repositories you want to publish to
|
||||
repositories {
|
||||
// uncomment to publish to the local maven
|
||||
// mavenLocal()
|
||||
}
|
||||
remapJar {
|
||||
archiveName = "${archivesBaseName}-${version}-fabric-${project.minecraft_version}.jar"
|
||||
destinationDir = file '../target'
|
||||
}
|
||||
|
||||
remapJar.doLast {
|
||||
task ->
|
||||
ant.checksum file: task.archivePath
|
||||
}
|
||||
|
@ -6,9 +6,7 @@ minecraft_version=1.16.1
|
||||
yarn_mappings=1.16.1+build.21
|
||||
loader_version=0.9.1+build.205
|
||||
# Mod Properties
|
||||
mod_version=1.0.0-SNAPSHOT
|
||||
maven_group=us.dynmap
|
||||
archives_base_name=dynmap-fabric
|
||||
archives_base_name=Dynmap
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
fabric_version=0.17.0+build.386-1.16.1
|
||||
|
@ -14,8 +14,8 @@ sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
archivesBaseName = project.archives_base_name
|
||||
version = project.mod_version + "+" + project.minecraft_version
|
||||
group = project.maven_group
|
||||
version = parent.version
|
||||
group = parent.group
|
||||
|
||||
configurations {
|
||||
shadow
|
||||
@ -75,23 +75,12 @@ jar {
|
||||
}
|
||||
}
|
||||
|
||||
// configure the maven publication
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
// add all the jars that should be included when publishing to maven
|
||||
artifact(remapJar) {
|
||||
builtBy remapJar
|
||||
}
|
||||
artifact(sourcesJar) {
|
||||
builtBy remapSourcesJar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// select the repositories you want to publish to
|
||||
repositories {
|
||||
// uncomment to publish to the local maven
|
||||
// mavenLocal()
|
||||
}
|
||||
remapJar {
|
||||
archiveName = "${archivesBaseName}-${version}-fabric-${project.minecraft_version}.jar"
|
||||
destinationDir = file '../target'
|
||||
}
|
||||
|
||||
remapJar.doLast {
|
||||
task ->
|
||||
ant.checksum file: task.archivePath
|
||||
}
|
||||
|
@ -6,9 +6,7 @@ minecraft_version=1.16.2
|
||||
yarn_mappings=1.16.2+build.6
|
||||
loader_version=0.9.1+build.205
|
||||
# Mod Properties
|
||||
mod_version=1.0.0-SNAPSHOT
|
||||
maven_group=us.dynmap
|
||||
archives_base_name=dynmap-fabric
|
||||
archives_base_name=Dynmap
|
||||
# Dependencies
|
||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
||||
fabric_version=0.17.2+build.396-1.16
|
||||
|
Loading…
Reference in New Issue
Block a user