Skip to content

Commit 2436c5d

Browse files
Switch back to ancient scala 2.11 version
1 parent 8de62a4 commit 2436c5d

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

build.gradle

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,15 @@ tasks.injectTags.outputClassName.set("${maven_group}.${project.mod_id}.Tags")
8585

8686
repositories {
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

111120
dependencies {
@@ -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

200209
jar {
210+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
201211
into('/') {
202212
// Add all of the dependency JARs to the main JAR for later extraction
203213
from configurations.embed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
org.gradle.jvmargs = -Xmx3G
44

55
# Mod Information
6-
mod_version = 2.11.12
6+
mod_version = 2.11.1
77
maven_group = com.cleanroommc
88
archives_base_name = scalar
99
mod_id = scalar

0 commit comments

Comments
 (0)