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")
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ fabric_version=0.83.0+1.20
|
|||
fabric_loader_version=0.14.21
|
||||
|
||||
# Mod options
|
||||
mod_name=Example Mod
|
||||
mod_name=ExampleMod
|
||||
mod_author=Jared
|
||||
mod_id=examplemod
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user