MavenDeployment deprecated with Gradle 6.3,

Hi Guys.

I’m refactoring my build gradle and I’m removing all deprecated dependences, but I noted that the MavenDeployment interface inside package org.gradle.api.artifacts.maven was deprecated, but at this time I’m not able to found an alternative because inside the documentation there isn’t any suggestion.

I’m losing somethings?

1 Like

You need to update to use the Maven Publish plugin: https://docs.gradle.org/current/userguide/publishing_maven.html#publishing_maven

2 Likes