zeroturnaround / gradle-jrebel-plugin

The plugin generates rebel.xml configuration file for the Gradle-based project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

showGenerated = 'false' is no longer being honored (version 1.1.1)

lucasweb78 opened this issue · comments

I'm using 1.1.1 and am seeing an issue with showGenerated = 'false'.

configure(jrebelProjects()) {
apply plugin: 'rebel'
rebel {
alwaysGenerate = 'true'
showGenerated = 'false'
}
}

In the above example showGenerated = 'false' is being ignored and the rebel.xml is being outputted to the logs. If I comment the line out then the default behavior kicks in and the rebel.xml output is not shown.

This is due to the change from those ugly string booleans (that early Gradle versions encouraged) to proper booleans. Now just write:

showGenerated = false

Seems that adding a string value there will always evaluate to true, no matter what the string contents is. But string values are no longer expected there, please just delete the quotation marks from your build-file. Sorry about backwards incompatibility.