Perhaps you are using some premium add-ons and your
build.gradle contains the following repositories configuration:
As you can see, the build system expects
premiumRepoPass properties to pass them as repository credentials. Normally they are set by Studio in your
~/.gradle/gradle.properties file when you register the premium subscription, so the build works locally on your machine.
For CI, you have to supply this properties to the Gradle process somehow, for example as
-P command line parameters:
./gradlew build -PpremiumRepoUser=123456789012 -PpremiumRepoPass=qwertyuiopas