Skip to content

Commit

Permalink
Cache for 0 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
dilipkrish committed Mar 15, 2017
1 parent d587195 commit a3df514
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ ext {
springfoxGrails = "1.0.0-SNAPSHOT"
}

configurations.all {
// Check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}

dependencies {
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
Expand All @@ -62,9 +67,9 @@ dependencies {
console "org.grails:grails-console"
profile "org.grails.profiles:rest-api"

compile("io.springfox:springfox-swagger2:${springfox}") { changing = true }
compile("io.springfox:springfox-swagger-ui:${springfox}") { changing = true }
compile("io.springfox.grails:springfox-grails:${springfoxGrails}") { changing = true }
compile("io.springfox:springfox-swagger2:${springfox}")
compile("io.springfox:springfox-swagger-ui:${springfox}")
compile("io.springfox.grails:springfox-grails:${springfoxGrails}")

// compile "com.h2database:h2" //For local testing
compile 'org.postgresql:postgresql:9.4.1212'
Expand Down

0 comments on commit a3df514

Please sign in to comment.