Thread
#detekt
    l

    Lucas Mo

    2 months ago
    I'm having a bit of a hard time replacing the deprecated "failFast" flag for the gradle alternative
    b

    Brais Gabin

    2 months ago
    Fail fast was deprecated in the gradle task too on
    1.16.0
    . What do you want to archive exactly?
    l

    Lucas Mo

    2 months ago
    my project had failFast set to true before, so, I should keep this flag, but now using the Gradle extension, right? Anyway, I was able to apply it as a CLI parameter. Thanks!
    b

    Brais Gabin

    2 months ago
    Well, we deprecated that flag for a reason: the name is REALLY bad. Now you can get the same behaviour but with arguments with better names as
    allRules
    .
    l

    Lucas Mo

    2 months ago
    Hm, interesting
    Where can I read about this "allRules" thing?
    I'm still trying to find my way across the documentation
    b

    Brais Gabin

    2 months ago
    The old
    FailFast
    is the same as enable
    buildUponDefaultConfig
    and
    allRules
    .
    l

    Lucas Mo

    2 months ago
    So, if I got it right, I just need to set those flags as true in a detekt DSL block, and it will work the same as failFast?
    Nice
    Thank you so much for your support!