Skip to content

Commit

Permalink
the maven solution
Browse files Browse the repository at this point in the history
todo: fix `files.minecraftforge.net` and `libraries.minecraft.net`, the remaining 2
  • Loading branch information
Fallen-Breath committed Jun 25, 2024
1 parent 71249cd commit 4c90bd7
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
buildscript {
repositories {
mavenLocal()
maven { url "$projectDir/TISCM_libs" }
maven { url = 'http://files.minecraftforge.net/maven' }
jcenter()
// mavenLocal()
// maven { url "$projectDir/TISCM_libs" }
// maven { url 'https://maven.fallenbreath.me/releases' }
// maven { url 'http://files.minecraftforge.net/maven' }
// jcenter()
mavenCentral()
//maven {url 'http://plugins.gradle.org/m2/'} // For debug purposes
maven { url 'https://maven.fallenbreath.me/tiscm13' }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.0.23'
classpath 'net.minecraftforge.gradle:ForgeGradle:3.0.23' // newer version does not work
classpath 'com.github.abrarsyed.jastyle:jAstyle:1.3'
classpath 'com.google.code.gson:gson:2.8.0' // because groovy JsonGenerator doesn't exist wtf
classpath 'commons-io:commons-io:2.6'
Expand Down Expand Up @@ -113,10 +114,10 @@ def projectMod = project(':' + settings.modname) {
}
}
repositories {
maven { url = 'https://maven.enginehub.org/repo' } // worldedit
maven { url = 'https://www.jitpack.io' } // spark
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' } // spark dependency
mavenLocal()
// maven { url = 'https://maven.enginehub.org/repo' } // worldedit
// maven { url = 'https://www.jitpack.io' } // spark
// maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' } // spark dependency
maven { url 'https://maven.fallenbreath.me/tiscm13' }
mavenCentral()
}
patcher {
Expand Down

0 comments on commit 4c90bd7

Please sign in to comment.