Skip to content

Commit

Permalink
Move last mavenLocal build position
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Dec 20, 2024
1 parent 490a7b1 commit 2ea28b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2ea28b5

Please sign in to comment.