sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0

Open marandaneto opened this issue 3 years ago • 4 comments

WARNING:Software Components will not be created automatically for Maven publishing from Android Gradle Plugin 8.0. To opt-in to the future behavior, set the Gradle property android.disableAutomaticComponentCreation=true in the gradle.properties file or use the new publishing DSL.

Likely related to com.vanniktech:gradle-maven-publish-plugin

marandaneto avatar Feb 01 '22 09:02 marandaneto

The same problem , how to fix that ?

khaitq7 avatar Apr 06 '22 09:04 khaitq7

gradle-maven-publish-plugin

That's a warning that comes from the gradle-maven-publish-plugin plugin and not Sentry's SDK.

marandaneto avatar Apr 07 '22 07:04 marandaneto

https://github.com/vanniktech/gradle-maven-publish-plugin/issues/332#issuecomment-1052107916 we should be good with just using the latest verison of that plugin it seems

romtsn avatar Apr 19 '22 11:04 romtsn

To avoid this warning, In the gradle.properties file, you can add

android.disableAutomaticComponentCreation=true

Screenshot 2022-09-12 at 6 55 18 PM

dasjideepak avatar Sep 12 '22 13:09 dasjideepak