I followed instructions similar to these:
Android Library Gradle release JAR
However, I get the following error:
Could not find method isReleaseBuild() for arguments [] on project ':myProject'.
None of the examples I saw on Maven integration define this function, so I assumed it was built-in. However, I get this error with Gradle 1.12 and 2.1, and Android plugin 0.12.+ and 0.13.+
If it's not a built-in function, what is the best practice for defining it?