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

stopped working on com.android.tools.build:gradle:4.2.0 and gradle 6.7.1 #46

Closed rohit5ram closed 3 years ago

rohit5ram commented 3 years ago

I have upgraded my project android build gradle plugin to 4.2.0 and gradle version 6.7.1

from then on I get

Could not determine the dependencies of task
java.lang.NullPointerException (no error message)

I use classpath 'digital.wup:android-maven-publish:3.6.3'

rohit5ram commented 3 years ago

any update on the fix?

Dimon70007 commented 3 years ago

the same with com.android.tools.build:gradle:4.2.1. any suggestions or alternatives?

trevjonez commented 3 years ago

use the gradle bundled publishing plugin. https://developer.android.com/studio/build/maven-publish-plugin

Dimon70007 commented 3 years ago

ah, thanks. i have already found migrate example - https://github.com/grpc/grpc-java/pull/7842/files