Update how the archive name is set
This commit is contained in:
parent
a5ac191b4e
commit
0a04d1fa35
|
|
@ -4,9 +4,9 @@ plugins {
|
|||
id 'maven-publish'
|
||||
id 'org.spongepowered.gradle.vanilla'
|
||||
}
|
||||
|
||||
archivesBaseName = "${mod_name}-common-${minecraft_version}"
|
||||
|
||||
base {
|
||||
archivesName = "${mod_name}-common-${minecraft_version}"
|
||||
}
|
||||
minecraft {
|
||||
version(minecraft_version)
|
||||
if(file("src/main/resources/${mod_id}.accesswidener").exists()){
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ plugins {
|
|||
id 'maven-publish'
|
||||
id 'fabric-loom'
|
||||
}
|
||||
|
||||
archivesBaseName = "${mod_name}-fabric-${minecraft_version}"
|
||||
|
||||
base {
|
||||
archivesName = "${mod_name}-fabric-${minecraft_version}"
|
||||
}
|
||||
dependencies {
|
||||
minecraft "com.mojang:minecraft:${minecraft_version}"
|
||||
mappings loom.officialMojangMappings()
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ plugins {
|
|||
id 'net.minecraftforge.gradle'
|
||||
id 'org.spongepowered.mixin'
|
||||
}
|
||||
|
||||
archivesBaseName = "${mod_name}-forge-${minecraft_version}"
|
||||
|
||||
base {
|
||||
archivesName = "${mod_name}-forge-${minecraft_version}"
|
||||
}
|
||||
mixin {
|
||||
add(sourceSets.main, "${mod_id}.refmap.json")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user