onyxbits / raccoon4

APK Downloader for Google Play
https://raccoon.onyxbits.de
Apache License 2.0
655 stars 91 forks source link

Version 4.18.0 fails to compile maven modules #94

Closed ford--prefect closed 3 years ago

ford--prefect commented 3 years ago

When building the recently released 4.18.0 on Archlinux via the AUR package with gradle -Pversion=4.18.0 fatJar

I get the following error:

`A problem occurred evaluating root project 'Raccoon-desktop'.

Could not find method compile() for arguments [net.dongliu:apk-parser:2.6.10] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler`

Uncommenting the apk-parser yield the same result with the next maven module, so this seems to be a general issue. Is this my fault, did I miss a change? Or is this a real issue?

jpstotz commented 3 years ago

Instead of using your local gradle version you should better use gradlew which currently defaults to Gradle 6.8.2. Different gradle versions can cause errors like those you have encountered.

ford--prefect commented 3 years ago

Thanks, that indeed solved the problem.