【发布时间】:2020-07-13 12:42:01
【问题描述】:
我已经创建了一个 Android 库并合并了一些我需要的更改 https://github.com/ceessay/kdgaugeView
为了在我的 Android 项目中使用该库,我尝试在 Jitpack 上发布它。
问题是在 Github 上推送更改后,Jitpack 上的构建似乎通过了,但是有这个消息
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 543ms
4 actionable tasks: 1 executed, 3 up-to-date
Build tool exit code: 0
Looking for artifacts...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Looking for pom.xml in build directory and ~/.m2
2020-07-13T12:27:13.425592193Z
Exit code: 0
ERROR: No build artifacts found
完整日志:https://jitpack.io/com/github/ceessay/kdgaugeView/1.0.5/build.log
在我的项目中添加库也失败并显示以下消息:
找不到 com.github.ceessay:kdgaugeView:1.0.4。
我已经按照 Jitpack 文档的指导方针,在库上升级了 gradle 但我不会工作。
我是为 Android 发布库的新手,所以我可能会遗漏一些东西。有什么线索吗?
【问题讨论】:
-
你有想过这个吗?
标签: android android-studio gradle jitpack