When compiling with gradlew fluid -i (and logging fixed), the fluid plugin can be seen scanning loads of extra artifacts. To speed up compilation see Workaround below.
Suggested fix
Properly document. Also consider making excludeFromClasspath match with regexp, right now it works by partial match, so if you exclude artemis-odb and your artifacts happen to be in the folder my-artemis-odb-games/ the whole thing blows up.
Workaround
Enable logging and check which deps are being scanned using plugin arguments, and exclude those. Alternatively limit the scanned classpath to just your component artifacts.
fluid {
preferences.excludeFromClasspath += [
// speed up compilation by skipping dependencies without components.
"guava-",
"reflections-",
"commons-lang3-",
"javapoet-",
"fast-classpath-scanner-",
"commons-io-",
"javassist-",
]
When compiling with
gradlew fluid -i
(and logging fixed), the fluid plugin can be seen scanning loads of extra artifacts. To speed up compilation see Workaround below.Suggested fix
Properly document. Also consider making excludeFromClasspath match with regexp, right now it works by partial match, so if you exclude
artemis-odb
and your artifacts happen to be in the foldermy-artemis-odb-games/
the whole thing blows up.Workaround
Enable logging and check which deps are being scanned using plugin arguments, and exclude those. Alternatively limit the scanned classpath to just your component artifacts.