signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.08k stars 362 forks source link

Gradle: Maven plugin deprecated in Gradle 7 #451

Closed kalihale closed 2 years ago

kalihale commented 2 years ago

I tried using Gradle 7.4 to build the project and got this error:

Screenshot from 2022-02-25 18-55-42 Could not compile build file, unable to resolve class MavenDeployment

According to the Gradle docs, maven is being deprecated in favor of maven-publish.

The workaround to this is to use a version of Gradle <7.0, so this is not an urgent issue, but this will likely need to be updated eventually.

jrose-signal commented 2 years ago

Yep, thanks. We've been adapting Gradle files from previous projects for a while, now; it's probably time to rewrite it wholesale to use with modern Gradle.

jrose-signal commented 2 years ago

Updated to Gradle 7.4 for v0.14.0!