ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. deebo can you refer to the parent / root project in a gradle submodule somehow? e.g. root = spring boot app, child1 = client for the spring boot app, and i'd like to start the app during a test, without any testcontainer hackery or such, just use @SpringBootTest(ParentApp.class) with something like `testImplementation rootProject`
  2. deebo which seems to work in idea dependencies, but not for gradle itself
  3. deebo gradle dependencies actually properly lists the dependency, but still can't find any classes
  4. Para Kinda but not really. Maybe.
  5. Para I remember that + multimodules being PITA with Gradle, and then the space shifted, and I stopped caring and moved back to Maven.
  6. deebo hmpf this is annoying, need to be able to test that the client actually works
  7. MikeBux deebo, how about integration tests?
  8. deebo ah i think this is about the spring boot plugin, the child project is trying to use a -plain.jar version of it
  9. deebo yeah works fine when doing `testImplementation rootProject` and rootProject config has `jar { enabled = true }` so it builds both a plain jar and the spring-boot jar
  10. dreamreal deebo: why are you not testing THE CLIENT
  11. dreamreal You shouldn't be relying on a parent project to test a child module
  12. deebo i'm testing that the various implementations integrate properly with what ever the underlying version of spring boot / spring graphql / etc is, already fixed one issue with the test :)