Skip to content

Commit

Permalink
commit progress grails 5 upgrade - add script for tests #2782
Browse files Browse the repository at this point in the history
  • Loading branch information
salomon-j committed Jan 16, 2023
1 parent 5afcc89 commit cbf2194
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,18 @@ assets {
excludes = ['**/*.less','**/build/hintrc.js', 'hintrc.unminified.js', '**/spec.hintrc.js', 'spec.hintrc.unminified.js', '**/*hintrc*', '**/webjars/**'] //Example Exclude GLOB pattern
}

tasks.withType(Test) {
useJUnitPlatform()
}

tasks.withType(Test) {
systemProperty "geb.env", System.getProperty('geb.env')
systemProperty "geb.build.reportsDir", reporting.file("geb/integrationTest")
systemProperty "webdriver.chrome.driver", System.getProperty('webdriver.chrome.driver')
systemProperty "webdriver.gecko.driver", System.getProperty('webdriver.gecko.driver')
}


bootJar {
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
enabled = true
Expand Down

0 comments on commit cbf2194

Please sign in to comment.