Merge pull request #45 from EoD/improve-dependencies
Improve dependencies
This commit is contained in:
commit
90731c56c8
|
|
@ -149,10 +149,10 @@ dependencies {
|
||||||
// Example mod dependency using a mod jar from ./libs with a flat dir repository
|
// Example mod dependency using a mod jar from ./libs with a flat dir repository
|
||||||
// This maps to ./libs/coolmod-${mc_version}-${coolmod_version}.jar
|
// This maps to ./libs/coolmod-${mc_version}-${coolmod_version}.jar
|
||||||
// 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("curse.maven:curios-309927:5266541")
|
compileOnly fg.deobf("curse.maven:curios-309927:5266541")
|
||||||
implementation fg.deobf("curse.maven:MySQL-561280:3685108")
|
runtimeOnly fg.deobf("curse.maven:MySQL-561280:4684944")
|
||||||
implementation fg.deobf("curse.maven:sophisticated-backpacks-422301:6303388")
|
compileOnly fg.deobf("curse.maven:sophisticated-backpacks-422301:6303388")
|
||||||
implementation fg.deobf("curse.maven:sophisticated-core-618298:6317048")
|
compileOnly fg.deobf("curse.maven:sophisticated-core-618298:6317048")
|
||||||
|
|
||||||
// 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
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,14 @@ description='''${mod_description}'''
|
||||||
ordering="NONE"
|
ordering="NONE"
|
||||||
side="BOTH"
|
side="BOTH"
|
||||||
|
|
||||||
|
# Dependency for MySQL
|
||||||
|
[[dependencies.${mod_id}]]
|
||||||
|
modId="mysql_jdbc"
|
||||||
|
mandatory=true
|
||||||
|
versionRange="[8.0.33+20230506,)"
|
||||||
|
ordering="NONE"
|
||||||
|
side="SERVER"
|
||||||
|
|
||||||
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
|
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
|
||||||
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
||||||
# stop your mod loading on the server for example.
|
# stop your mod loading on the server for example.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user