Multi Project Test Dependencies #577
Comments
That same code in the kotlin DSL would be something like this:
Another better way to do this is to create a Then you could depend upon it by doing something like this |
Thanks. That works |
Having the same problem with the latest version. |
The solution that I go with primarily is to create a separate project. For example, if my sub-project is called "core" then I make a second sub-project called "coreTestUtils" where I put the test utilities that I want to share with other projects. This is by far the cleanest solution I have figured out so far. |
@JLLeitschuh Thanks! I found this jartest plugin which seems to work fine so far. |
I don't really have any thoughts on it. If it works, awesome. Both seem to achieve the same goal. |
For another option, I translated the jartest plugin logic to a kts snippet:
with the other module depending on it like:
Seems to work okay |
I am trying to do in kotlin-dsl what is described here in groovy:
https://stackoverflow.com/questions/5644011/multi-project-test-dependencies-with-gradle
Is it possible in kotlin-dsl?
Many thanks
The text was updated successfully, but these errors were encountered: