Skip to content

Commit

Permalink
Correct run behavior. Also makes sure code dependecies are available …
Browse files Browse the repository at this point in the history
…for code completion.
  • Loading branch information
MikeNeilson committed Dec 6, 2024
1 parent 488e353 commit 93b41e5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cwms-data-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ configurations {
docker
baseLibs
tomcatLibs
testImplementation.extendsFrom(tomcatLibs)
}

configurations.implementation {
Expand Down Expand Up @@ -137,13 +138,12 @@ dependencies {
testImplementation(libs.rest.assured)
testImplementation(libs.hamcrest.all)

testImplementation(libs.bundles.tomcat.embedded)
testImplementation(libs.bundles.tomcat.support)
tomcatLibs(libs.bundles.tomcat.embedded)
tomcatLibs(libs.bundles.tomcat.support)
tomcatLibs(libs.google.flogger.api)
tomcatLibs(libs.google.flogger.backend)

testImplementation(libs.bundles.testcontainers)


testImplementation(libs.apache.commons.csv)
testImplementation(libs.cwms.tomcat.auth)
Expand Down Expand Up @@ -267,7 +267,6 @@ task integrationTests(type: Test) {
}
shouldRunAfter test
classpath += configurations.baseLibs
classpath += configurations.tomcatLibs
// The before all extension will take care of these properties
systemProperties += project.properties.findAll { k, v -> k.startsWith("RADAR") && !k.startsWith("RADAR_JDBC") }
systemProperties += project.properties.findAll { k, v -> k.startsWith("CDA") && !k.startsWith("CDA_JDBC") }
Expand Down

0 comments on commit 93b41e5

Please sign in to comment.