Hey Everyone, are we able to use Konsist to test g...
# konsist
i
Hey Everyone, are we able to use Konsist to test gradle files? e.g write tests to verify all modules' release build variants have minifyEnabled set to true?
m
I don't think so, Konsist will parse information from your classpath, but a gradle build file is outside its scope. Konsist is made for extracting AST data from Kotlin files, nothing else
to check that rule of yours I think you can write a gradle task or plugin that checks those properties, after all Gradle is scriptable with Kotlin or Groovy so it should definitely be possible
❤️ 1