add angular material project as embedded in spring

This commit is contained in:
liosha84
2025-06-14 23:25:50 +03:00
parent 5d0a701474
commit 4c8d1e965b
8 changed files with 109 additions and 1 deletions
+28
View File
@@ -32,6 +32,34 @@ dependencies {
implementation 'org.postgresql:postgresql:42.6.0'
}
// copyResouces( type:Copy
//tasks copyResouces( type:Copy){
//
// def buildDir = "${project.buildDir}"
//
// from "{$buildDir}/jambotron-ui/dist/jambotron-ui/browser" // Source directory
// into "{$buildDir}/build/resources" // Target directory
// include '**/*'
//}
apply plugin: 'java'
tasks.register('copyResources', Copy) {
from 'jambotron-ui/dist/jambotron-ui/browser'
into 'src/main/resources/public'
}
processResources.dependsOn(copyResources)
compileJava.dependsOn(copyResources)
sourceSets {
main {
resources {
srcDir 'jambotron-ui/dist/jambotron-ui/browser'
}
}
}
tasks.named('test') {
useJUnitPlatform()
}