wupdigital / android-maven-publish

Modification of the standard Maven Publish plugin to be compatible with android-library projects (aar).
Apache License 2.0
326 stars 39 forks source link

Gradle sync fails after adding plugin on a brand new android library #29

Closed provenstyle closed 5 years ago

provenstyle commented 5 years ago

Unable to load class 'org.gradle.api.capabilities.Capability'. Possible causes for this unexpected error include:

In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

warnyul commented 5 years ago

Please add the Grade and the plugin version. Maybe your Gradle version is incompatible with the plugin.

provenstyle commented 5 years ago

You are right. I realize the importance of the compatibility table now. I was trying to use Gradle 4.6 with 3.6.2 and they are incompatible. Thank you.

warnyul commented 5 years ago

No problem. Unfortunately it's important, because maven-publish is an incubation feature in Gradle. It will be stable in Gradle 5.0