arch-unit-gradle-plugin icon indicating copy to clipboard operation
arch-unit-gradle-plugin copied to clipboard

Externalize the path of the classes in GradleScopePathProvider

Open andres-sacco opened this issue 3 years ago • 1 comments

The plugin works fine with Java projects but if you want to use it on Kotlin is not possible because in the class GradleScopePathProvider the path is hardcoded to "/classes/java/test".

andres-sacco avatar Aug 24 '21 14:08 andres-sacco

good idea. I've made some changes, I'll test them next week.

Don't hesitatete to give it a try yourself and give me feedback :

  • build core from https://github.com/societe-generale/arch-unit-build-plugin-core/pull/51 (v 2.8.1-SNAPSHOT)
  • then build the gradle plugin from this PR, and see if it works as expected

Thanks !!

vincent-fuchs avatar Aug 28 '21 17:08 vincent-fuchs

I've tried it quickly locally and it seems to be working.

can you please build it locally from https://github.com/societe-generale/arch-unit-gradle-plugin/tree/possibilityToOverrideMainAndTestPaths and try it ? new params have been added in the readme in the branch.

vincent-fuchs avatar Apr 08 '23 14:04 vincent-fuchs