Skip to content

Commit

Permalink
change properties
Browse files Browse the repository at this point in the history
  • Loading branch information
anweisen committed Oct 13, 2024
1 parent 88c615d commit f8f83f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ plugins {
}

base {
archivesName = "${mod_id}-${project.name}-${minecraft_version}"
archivesName = "${mod_id}-${minecraft_version}-${project.name}"
}

java {
toolchain.languageVersion = JavaLanguageVersion.of(java_version)
withSourcesJar()
withJavadocJar()
// withJavadocJar()
}

repositories {
Expand Down Expand Up @@ -44,7 +44,7 @@ repositories {

// Declare capabilities on the outgoing configurations.
// Read more about capabilities here: https://docs.gradle.org/current/userguide/component_capabilities.html#sec:declaring-additional-capabilities-for-a-local-component
['apiElements', 'runtimeElements', 'sourcesElements', 'javadocElements'].each { variant ->
['apiElements', 'runtimeElements', 'sourcesElements', /**'javadocElements'**/].each { variant ->
configurations."$variant".outgoing {
capability("$group:${base.archivesName.get()}:$version")
capability("$group:$mod_id-${project.name}-${minecraft_version}:$version")
Expand Down
4 changes: 2 additions & 2 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"${mod_author}"
],
"contact": {
"homepage": "https://fabricmc.net/",
"sources": "https://github.com/FabricMC/fabric-example-mod"
"sources": "https://github.com/anweisemods/NotEnoughPots",
"issues": "https://github.com/anweisemods/NotEnoughPots/issues"
},
"license": "${license}",
"icon": "${mod_id}.png",
Expand Down
3 changes: 0 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ plugins {
id 'net.minecraftforge.gradle' version '[6.0.24,6.2)'
id 'org.spongepowered.mixin' version '0.7-SNAPSHOT'
}
base {
archivesName = "${mod_name}-forge-${minecraft_version}"
}
mixin {
config("${mod_id}.mixins.json")
config("${mod_id}.forge.mixins.json")
Expand Down

0 comments on commit f8f83f9

Please sign in to comment.