@@ -53,26 +53,16 @@ dependencies {
5353 exclude group : ' io.projectreactor.ipc' , module : ' reactor-netty'
5454 }
5555
56- runtimeOnly libs. micrometer. registry. prometheus
56+ runtimeOnly(libs. micrometer. registry. prometheus){
57+ exclude group : ' com.google.protobuf' , module : ' protobuf-java' because(" Micrometer uses protobuf-java 4.x, which is incompatible with protobuf-java 3.x used by various dependencies of this project. See https://github.com/prometheus/client_java/issues/1431" )
58+ }
5759
5860 // CVE Fixes
5961 implementation libs. apache. commons. compress
6062 implementation libs. okhttp3. logging. intercepter
6163 implementation libs. json. smart
6264 implementation libs. netty. common
6365 implementation libs. netty. handler
64- implementation libs. spring. context
65-
66- implementation libs. modelcontextprotocol. spring. webflux
67- implementation libs. victools. jsonschema. generator
68-
69- // Google Managed Service for Kafka IAM support
70- implementation (libs. google. managed. kafka. login. handler) {
71- exclude group : ' com.google.oauth-client' , module : ' google-oauth-client'
72- }
73- implementation (libs. google. oauth. client) {
74- because(" CVE Fix: It is excluded above because of a vulnerability" )
75- }
7666
7767 // Annotation processors
7868 implementation libs. lombok
@@ -107,20 +97,14 @@ generateGrammarSource {
10797 arguments + = [" -package" , " ksql" ]
10898}
10999
110- tasks. withType(JavaCompile ) {
111- options. compilerArgs << " -Xlint:deprecation" << " -Xlint:unchecked"
112- }
113-
114-
115-
116100sourceSets {
117101 main {
102+ antlr {
103+ srcDirs = [" src/main/antlr4" ]
104+ }
118105 java {
119106 srcDirs + = generateGrammarSource. outputDirectory
120107 }
121- resources {
122- srcDirs + = project(" :frontend" ). layout. buildDirectory. dir(" vite" )
123- }
124108 }
125109}
126110
@@ -158,7 +142,15 @@ if (buildDockerImages) {
158142}
159143
160144if (includeFrontend) {
145+ tasks. named(" build" ) {
146+ dependsOn(" :frontend:buildFrontend" )
147+ }
148+
161149 tasks. named(" processResources" ) {
162150 dependsOn(" :frontend:buildFrontend" )
151+ from(project(" :frontend" ). layout. buildDirectory. dir(" vite" )) {
152+ into(" static" )
153+ }
154+ into(" $buildDir /resources/main" )
163155 }
164156}
0 commit comments