FINERACT-2181: Remove processResource hack
This commit is contained in:
@@ -376,20 +376,6 @@ configure(project.fineractJavaProjects) {
|
|||||||
withJavadocJar()
|
withJavadocJar()
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: we are forcing Gradle to do something it shouldn't! This effects Gradle caching AND breaks Liquibase!
|
|
||||||
// tasks.withType(ProcessResources) {
|
|
||||||
// destinationDir = layout.buildDirectory.dir('classes/java/main').get().asFile
|
|
||||||
// }
|
|
||||||
|
|
||||||
processResources {
|
|
||||||
destinationDir = file("${buildDir}/resources/main")
|
|
||||||
|
|
||||||
doLast {
|
|
||||||
delete fileTree(dir: "${buildDir}/classes/java/main/db")
|
|
||||||
delete fileTree(dir: "${buildDir}/classes/java/main/META-INF")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add performance optimizations
|
// Add performance optimizations
|
||||||
configurations.all {
|
configurations.all {
|
||||||
resolutionStrategy {
|
resolutionStrategy {
|
||||||
|
|||||||
Reference in New Issue
Block a user