valery1707/kaitai-gradle-plugin

compile task dependency

jvmlet opened this issue · 6 comments

Does the plugin add kaitai task as dependency of compile task? My test can't be executed with test task if ksy was not processed by manualyl running the kaitai task.

@jvmlet Yes, plugin add himself as dependency to compileJava, compileScala and compileKotlin

@jvmlet Can you create simple project that can show the problem?

Thanks @valery1707, will recheck this at Sunday

@jvmlet In gradle demo project tests executed without problems - because kaitai spec compiled before tests compilation

Hi @valery1707 , sorry, my fault. I ran the tests using junit runner from IDEA. Running with gradle works as expected.

@jvmlet Thanks for checking!