This code snippet shows how to override compiler options when using Gradle plugins. In addition, it shows how to configure local Maven repositories to resolve locally published dependencies (helpful in the context of local testing with snapshots).
Update build.gradle
Add the following section after plugins section of build.gradle.
allprojects {
// test is for compatibility with Metals import
if (!plugins.hasPlugin("bloop")) {
apply plugin: "bloop"
}
}
Update
If you are using Gradle, you probably know that Gradle use a binary metadata chache to store various aspects of dependency resolution (see following gradle doc ).
There might be a point when you