Filip Daca
02/20/2023, 10:04 AM7.5.1 .
• among used plugins, we have scala, java-library and recently java-test-fixtures
Every time test task is executed, jar task is also triggered for this and dependent subprojects. Report states jar "must run before" test. How can we set it up not to require jar, but only compiled classes / testClasses ?
This is impacting our performance and cost, because we're running several stages independently in CI, and want to run jar only once and only when it's needed. jar is not cacheable and it's not worth cacheing. Right now compiled classes are pulled from cache, and jar is generated anyway for no good reason.
I have tried using -x jar but it is still expecting dependent project jars to be there.