Manu Zhang
Manu Zhang
Could you please help add Risingwave with a PR?
I think the jar has the suffix. It's the `ModuleID` configured through "com.chuusai" %% "shapeless" % "version" needs `substituteCross`, like the [fixes for exclusion](https://github.com/sbt/librarymanagement/pull/88/files),
Isn't this expected since you've shaded the `javax.servlet` package to `javax.servlet-api.3.1.0` ?
The error says "java.lang.NoClassDefFoundError: javax/servlet/FilterRegistration" so it's already updated.
I see. Then try `inAll` instead of `inLibrary("javax.servlet" % "javax.servlet-api" % "3.1.0").inProject`
In your case, either A or B has to shade X itself (or you do it in a separate project). Otherwise, V2 has already been evicted before assembly comes in.
Have you tried `ShadeRule.rename(basePath.** -> shaded.V1.basePath.@1).inLibrary(A, X % V1).inProject` ?
It's not a constraint. `inLibrary` accepts one or more libraries. In your case, `A` and `X`.
Try place them under `src/main/resources`
I think [sbt-pack](https://github.com/xerial/sbt-pack) is better for this job