gradle-java-monkey-patch
gradle-java-monkey-patch copied to clipboard
Plugin Does Not Work w/ Newer Android Gradle Plugins
I was attempting to use this w/ a newer version of the android plugin library:
id 'com.android.library' version '7.1.0'
If I don't add the monkeyPatch section, I get the following error:
The 'java' plugin has been applied, but it is not compatible with the Android plugins.
With the monkeyPatch section, I get the following:
Caused by: groovy.lang.MissingMethodException: No signature of method: build_cdx3zyz8xceek7riplsi3ular.monkeyPatch() is applicable for argument types: (build_cdx3zyz8xceek7riplsi3ular$_run_closure5) values: [build_cdx3zyz8xceek7riplsi3ular$_run_closure5@70922506]