diff --git a/build.gradle b/build.gradle index e9bc0cb9b..d49c130f7 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,10 @@ plugins { } allprojects { + configurations.configureEach { + resolutionStrategy.cacheChangingModulesFor 0, 'seconds' + } + apply plugin: 'com.diffplug.spotless' if (project === rootProject) { diff --git a/settings.gradle b/settings.gradle index 5603e440e..720f73879 100644 --- a/settings.gradle +++ b/settings.gradle @@ -21,6 +21,7 @@ pluginManagement { dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { + mavenLocal() google() mavenCentral() maven { url = "https://jitpack.io" }