diff --git a/build.gradle b/build.gradle index beddc60e..d82c8715 100644 --- a/build.gradle +++ b/build.gradle @@ -32,16 +32,16 @@ subprojects { prj -> maven { url "https://repo.grails.org/grails/core" } mavenCentral() + if (useMavenLocal == 'last') { + println "Using mavenLocal() last on project `${prj.name}`" + mavenLocal() + } if(groovyVersion.endsWith('-SNAPSHOT')) { maven { name = 'ASF Snapshot repo' url = 'https://repository.apache.org/content/repositories/snapshots' } } - if (useMavenLocal == 'last') { - println "Using mavenLocal() last on project `${prj.name}`" - mavenLocal() - } } tasks.withType(Test) {