Created
April 15, 2020 01:33
-
-
Save cdsap/e4fa54548d669048793ac94a81be5fac to your computer and use it in GitHub Desktop.
settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenLocal() | |
maven { | |
url 'https://plugins.gradle.org/m2/' | |
} | |
} | |
dependencies { | |
classpath 'gradle.plugin.net.idlestate:gradle-redis-build-cache:1.2.1' | |
} | |
} | |
plugins { | |
id 'com.gradle.enterprise' version '3.0' | |
} | |
gradleEnterprise { | |
buildScan { | |
termsOfServiceUrl = 'https://gradle.com/terms-of-service' | |
termsOfServiceAgree = 'yes' | |
} | |
} | |
buildCache { | |
local { | |
enabled = false | |
} | |
registerBuildCacheService(net.idlestate.gradle.caching.RedisBuildCache.class, | |
net.idlestate.gradle.caching.RedisBuildCacheServiceFactory.class) | |
remote( net.idlestate.gradle.caching.RedisBuildCache.class ) { | |
host = 'IP' | |
port = 6379 | |
enabled = true | |
push = true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment