Skip to content

Commit

Permalink
Merge pull request #2 from hasnain2808/fix/2.7/add-sourceSets
Browse files Browse the repository at this point in the history
fix: revert build.gradle sourceSets changes
  • Loading branch information
macohen authored Oct 4, 2023
2 parents 7f9dccc + e1ef7f3 commit 6d14edc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,13 @@ run {
}

sourceSets {
main {
resources {
srcDirs = ["config"]
includes = ["**/*.yml"]
}
javaRestTest {
compileClasspath += sourceSets["main"].output + sourceSets["test"].output + configurations["testRuntimeClasspath"]
runtimeClasspath += output + compileClasspath
}
yamlRestTest {
compileClasspath += sourceSets["main"].output + sourceSets["test"].output + configurations["testRuntimeClasspath"]
runtimeClasspath += output + compileClasspath
}
}

Expand All @@ -168,4 +170,4 @@ jacocoTestReport {
// TODO: Enable these checks
dependencyLicenses.enabled = false
thirdPartyAudit.enabled = false
loggerUsageCheck.enabled = false
loggerUsageCheck.enabled = false

0 comments on commit 6d14edc

Please sign in to comment.