如何解决错误:找不到 Gradle 包装器请加使用默认 gradle 构建
尝试将库发布到 jitpack.io 时发生以下错误:
Found Android manifest
Android SDK version: 29. Build tools: 30.0.2
Installing Android platform 29
Installing Build-tools 30.0.2
Found gradle
Gradle build script
**WARNING: gradle/wrapper/gradle-wrapper.jar does not exist! Needs to be committed.**
**ERROR: Gradle wrapper not found. Please add. Using default gradle to build.**
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Welcome to Gradle 4.8.1!
Here are the highlights of this release:
- Dependency locking
- Maven Publish and Ivy Publish plugins improved and marked stable
- Incremental annotation processing enhancements
- APIs to configure tasks at creation time
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。