Add create dependencies
This commit is contained in:
1 parent
27780babf5
commit
c69b3653f8
3 files changed
+28
No files matched your search
@@ -74,6 +74,9 @@ minecraft {
|
|||||||
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
|
// Please read: https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels
|
||||||
property 'forge.logging.console.level', 'debug'
|
property 'forge.logging.console.level', 'debug'
|
||||||
|
|
||||||
|
property("mixin.env.remapRefMap", "true")
|
||||||
|
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
|
||||||
|
|
||||||
mods {
|
mods {
|
||||||
"${mod_id}" {
|
"${mod_id}" {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
@@ -120,6 +123,10 @@ repositories {
|
|||||||
// flatDir {
|
// flatDir {
|
||||||
// dir 'libs'
|
// dir 'libs'
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
maven { url = "https://maven.createmod.net" } // Create, Ponder, Flywheel
|
||||||
|
maven { url = "https://maven.ithundxr.dev/mirror" } // Registrate
|
||||||
|
maven { url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/" } // ForgeConfigAPIPort
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -141,6 +148,14 @@ dependencies {
|
|||||||
// The group id is ignored when searching -- in this case, it is "blank"
|
// The group id is ignored when searching -- in this case, it is "blank"
|
||||||
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
|
// implementation fg.deobf("blank:coolmod-${mc_version}:${coolmod_version}")
|
||||||
|
|
||||||
|
implementation(fg.deobf("com.simibubi.create:create-${minecraft_version}:${create_version}:slim") { transitive = false })
|
||||||
|
implementation(fg.deobf("net.createmod.ponder:Ponder-Forge-${minecraft_version}:${ponder_version}"))
|
||||||
|
compileOnly(fg.deobf("dev.engine-room.flywheel:flywheel-forge-api-${minecraft_version}:${flywheel_version}"))
|
||||||
|
runtimeOnly(fg.deobf("dev.engine-room.flywheel:flywheel-forge-${minecraft_version}:${flywheel_version}"))
|
||||||
|
implementation(fg.deobf("com.tterrag.registrate:Registrate:${registrate_version}"))
|
||||||
|
compileOnly(annotationProcessor("io.github.llamalad7:mixinextras-common:0.4.1"))
|
||||||
|
implementation("io.github.llamalad7:mixinextras-forge:0.4.1")
|
||||||
|
|
||||||
// For more info:
|
// For more info:
|
||||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||||
|
|||||||
@@ -57,3 +57,8 @@ mod_group_id=com.bipolarexpedition.java.contraptions_are_safe
|
|||||||
mod_authors=BipolarExpedition
|
mod_authors=BipolarExpedition
|
||||||
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
|
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
|
||||||
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.
|
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.
|
||||||
|
|
||||||
|
create_version = 6.0.8-289
|
||||||
|
ponder_version = 1.0.91
|
||||||
|
flywheel_version = 1.0.5
|
||||||
|
registrate_version = MC1.20-1.3.3
|
||||||
@@ -49,6 +49,14 @@ authors="${mod_authors}" #optional
|
|||||||
|
|
||||||
# The description text for the mod (multi line!) (#mandatory)
|
# The description text for the mod (multi line!) (#mandatory)
|
||||||
description='''${mod_description}'''
|
description='''${mod_description}'''
|
||||||
|
|
||||||
|
[[dependencies.${mod_id}]]
|
||||||
|
modId="create"
|
||||||
|
mandatory=true
|
||||||
|
versionRange="[6.0.8,6.1.0)"
|
||||||
|
ordering="NONE"
|
||||||
|
side="BOTH"
|
||||||
|
|
||||||
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
|
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
|
||||||
[[dependencies.${mod_id}]] #optional
|
[[dependencies.${mod_id}]] #optional
|
||||||
# the modid of the dependency
|
# the modid of the dependency
|
||||||
|
|||||||
Reference in new issue
Block a user