Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions dmtools-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ def versions = [
poi : '5.4.1'
]

configurations {
integrationTestImplementation.extendsFrom testImplementation
integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
}

dependencies {
// Testing
testImplementation 'junit:junit:4.13.2'
Expand Down Expand Up @@ -108,6 +103,7 @@ dependencies {
// Test dependencies
testImplementation platform("org.junit:junit-bom:${versions.junit}")
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 For better readability and maintenance, it's good practice to group related dependencies together. Consider moving the junit-platform-launcher dependency next to the other JUnit dependencies.

Suggested change
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// Test dependencies
testImplementation platform("org.junit:junit-bom:${versions.junit}")
testImplementation 'org.junit.jupiter:junit-jupiter'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

}

configurations.configureEach {
Expand Down Expand Up @@ -187,6 +183,11 @@ sourceSets {
}
}

configurations {
integrationTestImplementation.extendsFrom testImplementation
integrationTestRuntimeOnly.extendsFrom testRuntimeOnly
}

// Configure the processIntegrationTestResources task specifically
processIntegrationTestResources {
duplicatesStrategy = DuplicatesStrategy.INCLUDE
Expand Down
Loading