Electric-Coin-Company / zcash-android-wallet-sdk

Native Android SDK for Zcash
MIT License
5 stars 9 forks source link

FoojayToolchainsPlugin needs Gradle version 7.6 or higher #1082

Closed HonzaR closed 5 months ago

HonzaR commented 1 year ago

Describe the issue

Although this is not critical, we should analyze it. While calling clean action on the project with Android Studio we're getting error, which comes from the FoojayToolchainsPlugin configuration

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Checkout main latest branch commits
  2. From AS run Build -> Clean project

Expected behavior

Action success

Actual behavior + errors

Settings file '/Users/honza/Projects/zcash-android-wallet-sdk/build-conventions/settings.gradle.kts' line: 11

An exception occurred applying plugin request [id: 'org.gradle.toolchains.foojay-resolver-convention', version: '0.5.0']
> Failed to apply plugin class 'org.gradle.toolchains.foojay.FoojayToolchainsPlugin'.
   > FoojayToolchainsPlugin needs Gradle version 7.6 or higher

Any extra information that might be useful in the debugging process.

Running the action from cmd it does not suffer with this error. The error is the same for AS Android Studio Flamingo | 2022.2.1 Patch 1 as well as for Android Studio Giraffe | 2022.3.1 Beta 5. The locking dependencies mechanism seems to be not involved in this trouble.

HonzaR commented 5 months ago

Closing as resolved by some of the previous dependency update changes.