Skip to content

Commit

Permalink
Work around scalafix dependency resolution issues
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed May 2, 2022
1 parent 5e25a02 commit 3a53f33
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
dependencies {
classpath 'com.cinnober.gradle:semver-git:2.5.0'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.3.0'
classpath 'io.github.cosmicsilence:gradle-scalafix:0.1.8'
classpath 'io.github.cosmicsilence:gradle-scalafix:0.1.13'
}
}
plugins {
Expand Down Expand Up @@ -148,6 +148,12 @@ subprojects { project ->
if (project.plugins.hasPlugin('scala')) {
project.scalafix {
configFile = rootProject.file('scalafix.conf')

// Work around dependency resolution issues in April 2022
semanticdb {
autoConfigure = true
version = '4.5.5'
}
}
dependencies.scalafix('com.github.liancheng:organize-imports_2.13:0.6.0')
project.tasks.spotlessApply.dependsOn(project.tasks.scalafix)
Expand Down

0 comments on commit 3a53f33

Please sign in to comment.