FINERACT-1932: Add loan module (WIP)

This commit is contained in:
Adam Saghy
2023-05-25 17:57:28 +02:00
parent 105b4ed154
commit 2e3b96df19
352 changed files with 938 additions and 413 deletions
+19
View File
@@ -22,6 +22,25 @@ apply plugin: 'java'
apply plugin: 'eclipse'
check.dependsOn('cucumber')
compileJava.doLast {
def mainSS = sourceSets.main
def source = mainSS.java.classesDirectory.get()
copy {
from file("src/main/resources/jpa/core/persistence.xml")
into "${source}/META-INF/"
}
javaexec {
description = 'Performs EclipseLink static weaving of entity classes'
def target = source
main 'org.eclipse.persistence.tools.weaving.jpa.StaticWeave'
args '-persistenceinfo', source, '-classpath', sourceSets.main.runtimeClasspath, source, target
classpath sourceSets.main.runtimeClasspath
}
delete {
delete "${source}/META-INF/persistence.xml"
}
}
configurations {
providedRuntime // needed for Spring Boot executable WAR
providedCompile