Skip to content

Commit 3a53f33

Browse files
committed
Work around scalafix dependency resolution issues
1 parent 5e25a02 commit 3a53f33

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
dependencies {
66
classpath 'com.cinnober.gradle:semver-git:2.5.0'
77
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.3.0'
8-
classpath 'io.github.cosmicsilence:gradle-scalafix:0.1.8'
8+
classpath 'io.github.cosmicsilence:gradle-scalafix:0.1.13'
99
}
1010
}
1111
plugins {
@@ -148,6 +148,12 @@ subprojects { project ->
148148
if (project.plugins.hasPlugin('scala')) {
149149
project.scalafix {
150150
configFile = rootProject.file('scalafix.conf')
151+
152+
// Work around dependency resolution issues in April 2022
153+
semanticdb {
154+
autoConfigure = true
155+
version = '4.5.5'
156+
}
151157
}
152158
dependencies.scalafix('com.github.liancheng:organize-imports_2.13:0.6.0')
153159
project.tasks.spotlessApply.dependsOn(project.tasks.scalafix)

0 commit comments

Comments
 (0)