Conditional if else constraint in JuMP

Hi,
I want to use conditional if else in JuMP. I have seen ConditionalJuMP at https://juliaobserver.com/packages/ConditionalJuMP. But it won’t work for julia v0.5.2
Please mention any package for indicator constraints.

maybe you can update julia?

No ConditionalJuMP is compatible with julia v 1