gradle

20231011 Gradle Hacks

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).

20230813 Bloop Setup with Gradle

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

Gist: Gradle/ Invalidate Dependency Cache

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