From aa7b5846f909b0282d472102af293d7cd093d26a Mon Sep 17 00:00:00 2001 From: Puneet Behl Date: Thu, 16 Apr 2020 12:53:28 +0530 Subject: [PATCH] Cleanup dependencies --- build.gradle | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/build.gradle b/build.gradle index 417a0cb93..aca0f5f6b 100644 --- a/build.gradle +++ b/build.gradle @@ -94,15 +94,8 @@ subprojects { project -> dependencies { testCompile "org.codehaus.groovy:groovy-test-junit5:$groovyVersion" - testCompile "org.spockframework:spock-core:$spockVersion", { - exclude group: 'junit', module: 'junit-dep' - exclude group: 'org.codehaus.groovy', module: 'groovy-all' - exclude group: 'org.hamcrest', module: 'hamcrest-core' - transitive = false - } + testCompile("org.spockframework:spock-core:$spockVersion") { transitive = false} testCompile "org.junit.jupiter:junit-jupiter-api:5.6.0" - testCompile "org.junit.platform:junit-platform-runner:1.6.0" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.6.0" } apply from: "${rootProject.projectDir}/gradle/testVerbose.gradle" @@ -154,14 +147,15 @@ subprojects { project -> configurations { documentation + } - all { + // Uncomment below code to force refresh dependencies + /*configurations.all { resolutionStrategy { cacheDynamicVersionsFor 0, 'hours' cacheChangingModulesFor 0, 'hours' } - } - } + }*/ if(isPluginProject) { group "org.grails.plugins" @@ -204,15 +198,8 @@ subprojects { project -> documentation 'info.picocli:picocli:3.8.2' testCompile "org.codehaus.groovy:groovy-test-junit5:$groovyVersion" - testCompile "org.spockframework:spock-core:$spockVersion", { - exclude group: 'junit', module: 'junit-dep' - exclude group: 'org.codehaus.groovy', module: 'groovy-all' - exclude group: 'org.hamcrest', module: 'hamcrest-core' - transitive = false - } + testCompile("org.spockframework:spock-core:$spockVersion") { transitive = false} testCompile "org.junit.jupiter:junit-jupiter-api:5.6.0" - testCompile "org.junit.platform:junit-platform-runner:1.6.0" - testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.6.0" documentation "info.picocli:picocli:$picocliVersion" }