[英]Pipelines: Minimum supported Gradle version is 4.10.1. Current version is 4.4
I have updated top-level build.gradle file : from 我更新了顶级build.gradle文件:from
classpath 'com.android.tools.build:gradle:3.1.4'
to 至
classpath 'com.android.tools.build:gradle:3.3.0'
And now cant build project on Bitbucket-Pipelines: Error is: 现在无法在Bitbucket-Pipelines上构建项目:错误是:
FAILURE: Build failed with an exception.
* Where:
Build file '/opt/atlassian/pipelines/agent/build/app/build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Minimum supported Gradle version is 4.10.1. Current version is 4.4. If using the gradle wrapper, try editing the distributionUrl in /opt/atlassian/pipelines/agent/build/gradle/wrapper/gradle-wrapper.properties to gradle-4.10.1-all.zip
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 37s
Minimum supported Gradle version is 4.10.1. Current version is 4.4.
The statement itself says the solution 声明本身就说明了解决方案
Please change inside project>gradle>wrapper>gradle-wrapper.properties 请更改项目内部> gradle> wrapper> gradle-wrapper.properties
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
to 至
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.