play-games-plugin-for-unity icon indicating copy to clipboard operation
play-games-plugin-for-unity copied to clipboard

Gradle build failed 403 on amazon .pom

Open RomainBitard opened this issue 1 year ago • 2 comments

Describe the bug When I build my project on android I get `FAILURE: Build failed with an exception.

  • What went wrong: Could not determine the dependencies of task ':launcher:lintVitalRelease'.

Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'. Could not resolve com.google.games:gpgs-plugin-support:0.11.01. Required by: project :launcher > project :unityLibrary > Could not resolve com.google.games:gpgs-plugin-support:0.11.01. > Could not get resource 'https://aa-sdk.s3-eu-west-1.amazonaws.com/android_repo/com/google/games/gpgs-plugin-support/0.11.01/gpgs-plugin-support-0.11.01.pom'. > Could not GET 'https://aa-sdk.s3-eu-west-1.amazonaws.com/android_repo/com/google/games/gpgs-plugin-support/0.11.01/gpgs-plugin-support-0.11.01.pom'. Received status code 403 from server: Forbidden`

To Reproduce Steps to reproduce the behavior:

  1. install gpgs package and build

Expected behavior Build is OK

Observed behavior Build is KO

Versions

  • Unity version: 2021.3.27f1
  • Google Play Games Plugin for Unity version: 11.01 (latest)

RomainBitard avatar Nov 10 '23 12:11 RomainBitard

I had to change Packages/com.google.play.games/Editor/m2repository from GooglePlayGamesPluginDependencies.xml to Assets/GooglePlayGames/com.google.play.games/Editor/m2repository

RomainBitard avatar Nov 10 '23 12:11 RomainBitard

I reopen it because it should not happen

RomainBitard avatar Nov 10 '23 13:11 RomainBitard