improved data architecture

This commit is contained in:
2024-02-09 22:43:31 +08:00
parent f77a5c3e0d
commit e3d99fa178
34 changed files with 1188 additions and 267 deletions

View File

@@ -18,7 +18,13 @@ allprojects {
}
tasks.withType(JavaCompile) {
options.release = 17
options.release = 21
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
tasks.withType(Test) {
@@ -76,11 +82,12 @@ dependencies {
implementation catalog.commons.compress
implementation catalog.jna
implementation catalog.liquibase.cdi.jakarta
testImplementation catalog.jackson.module.jakarta.xmlbind.annotations
testImplementation catalog.jboss.ejb.client
testImplementation catalog.weld.se.core
testImplementation catalog.h2
// testImplementation catalog.h2
testImplementation catalog.hibernate.core
testImplementation catalog.resteasy.client
testImplementation catalog.resteasy.jackson2.provider
@@ -113,13 +120,14 @@ Provider<Exec> nimCompileTaskProvider = tasks.register("compileNim", Exec) {
workingDir(nimDir)
}
Provider<War> warTaskProvider = tasks.named('war', War) {
Provider<War> warTaskProvider = tasks.named('war', War) { War it ->
from staticDir
from nimCompileTaskProvider
archiveVersion = ''
}
tasks.named('deploy2Wildfly', Deploy2WildflyTask) { d2w ->
d2w.rpcPort = 1234
d2w.rpcPort = 9990
d2w.rpcUsername = 'woggioni'
// d2w.rpcUsername = 'admin'
d2w.rpcPassword = '123456'