We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa9b87 commit 3cfc491Copy full SHA for 3cfc491
common/build.gradle.kts
@@ -29,12 +29,9 @@ dependencies {
29
testImplementation("org.springframework.boot:spring-boot-starter-test")
30
}
31
32
-tasks.register<Copy>("copyDataFiles") {
33
- from("../.data/")
34
- include("**/*.json", "**/*.json5")
35
- into(layout.buildDirectory.dir("resources/main/data"))
36
-}
37
-
38
-tasks.withType<ProcessResources>().configureEach {
39
- dependsOn("copyDataFiles")
+tasks.withType<ProcessResources> {
+ from(rootProject.layout.projectDirectory.dir(".data")) {
+ into("data")
+ include("*.json", "*.json5")
+ }
40
0 commit comments