@@ -85,6 +85,15 @@ tasks.injectTags.outputClassName.set("${maven_group}.${project.mod_id}.Tags")
8585
8686repositories {
8787 flatDir { dir ' libs' }
88+ maven {
89+ url ' https://maven.minecraftforge.net'
90+ metadataSources {
91+ artifact()
92+ }
93+ }
94+ maven {
95+ url ' https://repo.papermc.io/'
96+ }
8897 maven {
8998 name ' CleanroomMC Maven'
9099 url ' https://maven.cleanroommc.com'
@@ -105,7 +114,7 @@ repositories {
105114 name = ' BlameJared Maven'
106115 }
107116
108- mavenLocal () // Must be last for caching to work
117+ mavenCentral () // Must be last for caching to work
109118}
110119
111120dependencies {
@@ -135,14 +144,14 @@ dependencies {
135144 implementation " com.google.guava:guava:33.0.0-jre"
136145
137146 embed ' org.scala-lang:scala-actors-migration_2.11:1.1.0'
138- embed ' org.scala-lang:scala-compiler:2.11.12 '
147+ embed ' org.scala-lang:scala-compiler:2.11.1 '
139148 // We change the version so old installs don't break, as our clone of the jar is different the maven central
140- embed ' org.scala-lang.plugins:scala-continuations-library_2.11:1.0.3 '
141- embed ' org.scala-lang.plugins:scala-continuations-plugin_2.11.11 :1.0.3 '
149+ embed ' org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2_mc '
150+ embed ' org.scala-lang.plugins:scala-continuations-plugin_2.11.1 :1.0.2_mc '
142151
143- embed ' org.scala-lang:scala-library:2.11.12 '
144- embed ' org.scala-lang.modules :scala-parser-combinators_2.11:2.2.0 '
145- embed ' org.scala-lang:scala-reflect:2.11.12 '
152+ embed ' org.scala-lang:scala-library:2.11.1 '
153+ embed ' org.scala-lang:scala-parser-combinators_2.11:1.0.1 '
154+ embed ' org.scala-lang:scala-reflect:2.11.1 '
146155 embed ' org.scala-lang:scala-swing_2.11:1.0.1'
147156 embed ' org.scala-lang:scala-xml_2.11:1.0.2'
148157}
@@ -198,6 +207,7 @@ tasks.register('generateMetaFiles') {
198207}
199208
200209jar {
210+ duplicatesStrategy = DuplicatesStrategy . EXCLUDE
201211 into(' /' ) {
202212 // Add all of the dependency JARs to the main JAR for later extraction
203213 from configurations. embed
0 commit comments