Skip to content

Commit

Permalink
前提Modが何故かCurseForgeのMavenAPIから取得できないのでjarファイルを参照するようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
yuu1111 committed Jun 9, 2024
1 parent edf89c3 commit 3d42181
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,9 @@ gradle-app.setting
### Gradle Patch ###
**/build/

# End of https://www.gitignore.io/api/gradle,intellij,forgegradle
# End of https://www.gitignore.io/api/gradle,intellij,forgegradle

# Library JarFile
BuildingGadgets-2.8.4.jar
ProjectE-1.12.2-PE1.4.1.jar
ProjectEX-1.2.0.40.jar
6 changes: 6 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -312,9 +312,14 @@ repositories {
}

dependencies {
deobfCompile "projecte:ProjectE:1.12.2:PE1.4.1"
deobfCompile "building-gadgets:BuildingGadgets:2.8.1"
deobfCompile "project-ex:ProjectEX:1.2.0.39"
// 何故かCurseForgeのMavenAPIから取得できないのでjarファイルを参照する
// deobfCompile "projecte:ProjectE:1.12.2:PE1.4.1"
// deobfCompile "building-gadgets:BuildingGadgets:2.8.1"
// deobfCompile "project-ex:ProjectEX:1.2.0.39"

implementation(fileTree(dir: 'libs', include: ['ProjectE-1.12.2-PE1.4.1.jar']))
implementation(fileTree(dir: 'libs', include: ['ProjectEX-1.2.0.40.jar']))
implementation(fileTree(dir: 'libs', include: ['BuildingGadgets-2.8.4.jar']))

if (project.forgegradle.contains('3.+')) {
minecraft "net.minecraftforge:forge:${project.version_minecraft}-${project.version_forge}"
Expand Down

0 comments on commit 3d42181

Please sign in to comment.