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