https://kotlinlang.org logo
#compiler
Title
# compiler
s

Strum355

04/18/2021, 10:26 PM
Does someone have an idea why Im getting the shown error when passing plugin options via gradle
freeCompilerArgs
but when manually calling
kotlinc
with the args, it works fine and the value is properly set?
z

Zac Sweers

04/18/2021, 10:52 PM
Try using
+=
instead of
=
s

Strum355

04/18/2021, 10:53 PM
@Zac Sweers same behaviour
s

shikasd

04/19/2021, 12:53 AM
-P
and the rest should be in the separate strings instead of separating them with space :)
s

Strum355

04/19/2021, 2:19 AM
Damnit, the real classic mistake 🤦‍♂️ that should've been obvious, thanks!