From 3a53f334f79ffdc534922f710d3d81a021f7dca1 Mon Sep 17 00:00:00 2001 From: Emil Lundberg Date: Mon, 2 May 2022 12:48:10 +0200 Subject: [PATCH] Work around scalafix dependency resolution issues --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 13a282d97..493f2df33 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { @@ -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)