You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.gradle
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,9 @@ plugins {
18
18
id 'java'
19
19
id 'java-library'
20
20
id 'eclipse'
21
-
id 'scala'
22
21
id 'org.jetbrains.gradle.plugin.idea-ext' version '1.1.7'
23
22
id 'com.gtnewhorizons.retrofuturagradle' version '1.3.+'
23
+
id 'scala' apply false
24
24
id 'net.darkhax.curseforgegradle' version '1.0.+' apply false
25
25
id 'com.modrinth.minotaur' version '2.7.+' apply false
26
26
id 'com.diffplug.spotless' version '6.13.0' apply false
@@ -133,6 +133,11 @@ if (coreModClass) {
133
133
134
134
// Plugin application
135
135
136
+
// Scala
137
+
if (getFile(targetPackageScala).exists()) {
138
+
apply plugin: 'scala'
139
+
}
140
+
136
141
// Spotless
137
142
//noinspection GroovyAssignabilityCheck
138
143
project.extensions.add(com.diffplug.blowdryer.Blowdryer, 'Blowdryer', com.diffplug.blowdryer.Blowdryer) // make Blowdryer available in plugin application
0 commit comments