Open brunobowden opened 9 years ago
Data point: Removing the directories of files even those explicitly passed to j2objc to be translated, when those files are split across multiple source set directories (ex. with dagger code or main/test code), results in class not found errors. My belief (guess) is that the sourcepath is telling j2objc what the root of the directory is so that it can find where to append the package part of the path (otherwise how would it know which part of the path was package vs. just root directory?)
These article suggest in part that -sourcepath should be blank in most cases. I need to delve in to this further in order to confirm what we should be doing.
http://blog.ltgt.net/most-build-tools-misuse-javac/ https://docs.gradle.org/2.4/release-notes#changes-to-default-value-for-java-compilation-sourcepath