kvision icon indicating copy to clipboard operation
kvision copied to clipboard

kvision gradle plugin not works well with Spring-Web-Flux

Open LiYing2010 opened this issue 9 months ago • 3 comments

looks like there is a func getServerType() in source code of kvision gradle plugin

https://github.com/rjaros/kvision/blob/e9f3eb843777fbb4176c9986e3f4aa425654cbaf/kvision-tools/kvision-gradle-plugin/src/main/kotlin/io/kvision/gradle/KVisionPlugin.kt#L605-L607

but it only checks the dependency name spring-boot-starter-web, which is for Spring Web MVC

my project is using spring-boot-starter-webflux, which is for Spring Web Flux, and it does not works well with kvision gradle plugin

I guess it's because of func getServerType() does not support spring-boot-starter-webflux

I suggest to add spring-boot-starter-webflux into func getServerType(), how do you think?

if you agree, I will make PR to fix this

LiYing2010 avatar May 17 '24 09:05 LiYing2010