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 'maven-publish'
|
||||||
id 'org.spongepowered.gradle.vanilla'
|
id 'org.spongepowered.gradle.vanilla'
|
||||||
}
|
}
|
||||||
|
base {
|
||||||
archivesBaseName = "${mod_name}-common-${minecraft_version}"
|
archivesName = "${mod_name}-common-${minecraft_version}"
|
||||||
|
}
|
||||||
minecraft {
|
minecraft {
|
||||||
version(minecraft_version)
|
version(minecraft_version)
|
||||||
if(file("src/main/resources/${mod_id}.accesswidener").exists()){
|
if(file("src/main/resources/${mod_id}.accesswidener").exists()){
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ plugins {
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'fabric-loom'
|
id 'fabric-loom'
|
||||||
}
|
}
|
||||||
|
base {
|
||||||
archivesBaseName = "${mod_name}-fabric-${minecraft_version}"
|
archivesName = "${mod_name}-fabric-${minecraft_version}"
|
||||||
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "com.mojang:minecraft:${minecraft_version}"
|
minecraft "com.mojang:minecraft:${minecraft_version}"
|
||||||
mappings loom.officialMojangMappings()
|
mappings loom.officialMojangMappings()
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ plugins {
|
||||||
id 'net.minecraftforge.gradle'
|
id 'net.minecraftforge.gradle'
|
||||||
id 'org.spongepowered.mixin'
|
id 'org.spongepowered.mixin'
|
||||||
}
|
}
|
||||||
|
base {
|
||||||
archivesBaseName = "${mod_name}-forge-${minecraft_version}"
|
archivesName = "${mod_name}-forge-${minecraft_version}"
|
||||||
|
}
|
||||||
mixin {
|
mixin {
|
||||||
add(sourceSets.main, "${mod_id}.refmap.json")
|
add(sourceSets.main, "${mod_id}.refmap.json")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user