Configuration flags specified with translateArgs are applied to both the main source and the tests. This means that if you use the --strip-reflection flag your production code may run fine (and be smaller), but your test code will break because JUnit and pretty much all unit test frameworks use reflection to discover the test cases.
Configuration flags specified with
translateArgsare applied to both the main source and the tests. This means that if you use the--strip-reflectionflag your production code may run fine (and be smaller), but your test code will break because JUnit and pretty much all unit test frameworks use reflection to discover the test cases.