Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
15 actionable tasks: 13 executed, 2 up-to-date
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
/home/jitpack/build/app/src/main/AndroidManifest.xml Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:starrysky] /home/jitpack/build/starrysky/build/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary="com.lzx.starrysky" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:starrysky] /home/jitpack/build/starrysky/build/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary="com.lzx.starrysky" to force usage (may lead to runtime failures)
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.
BUILD FAILED in 2m 9s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Archive: build:starrysky:unspecified
Publication: com.github.Vicent9920:ribbonlayout:3.0.0
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
Found artifact: com.github.Vicent9920:ribbonlayout:3.0.0
Found artifact: build:starrysky:unspecified
2022-07-22T06:30:25.033886419Z
Exit code: 0
⚠️ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/build/starrysky/unspecified
Build starting... Start: Fri Jul 22 06:27:48 UTC 2022 0549356f00fe Git: v3.0.2-0-g9c9ae06 commit 9c9ae06608bec8cc0c7022cc991c601234dc0228 Author: Vincent Date: Fri Jul 22 14:26:20 2022 +0800
Init SDKMan Found Android manifest Android SDK version: 28. Build tools: Installing Android platform 28 Found gradle Gradle build script Found gradle version: 5.4.1. Using gradle wrapper Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 Downloading https://services.gradle.org/distributions/gradle-5.4.1-all.zip . Unzipping /home/jitpack/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/gradle-5.4.1-all.zip to /home/jitpack/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx Set executable permissions for: /home/jitpack/.gradle/wrapper/dists/gradle-5.4.1-all/3221gyojl5jsh0helicew7rwx/gradle-5.4.1/bin/gradle
Gradle 5.4.1
Build time: 2019-04-26 08:14:42 UTC Revision: 261d171646b36a6a28d5a19a69676cd098a4c19d
Kotlin: 1.3.21 Groovy: 2.5.4 Ant: Apache Ant(TM) version 1.9.13 compiled on July 10 2018 JVM: 1.8.0_252 (Private Build 25.252-b09) OS: Linux 4.10.0-28-generic amd64
0m3.800s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1~16.04-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) Getting tasks: ./gradlew tasks --all Tasks: publishToMavenLocal, Found javadoc task Running: ./gradlew clean -Pgroup=com.github.Vicent9920 -Pversion=v3.0.2 -xtest -xlint assemble publishToMavenLocal File /opt/android-sdk-linux/.android/repositories.cfg could not be loaded. Checking the license for package Android SDK Build-Tools 28.0.3 in /opt/android-sdk-linux/licenses License for package Android SDK Build-Tools 28.0.3 accepted. Preparing "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)". "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" ready. Installing Android SDK Build-Tools 28.0.3 in /opt/android-sdk-linux/build-tools/28.0.3 "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" complete. "Install Android SDK Build-Tools 28.0.3 (revision: 28.0.3)" finished. Checking the license for package Android SDK Platform 31 in /opt/android-sdk-linux/licenses License for package Android SDK Platform 31 accepted. Preparing "Install Android SDK Platform 31 (revision: 1)". "Install Android SDK Platform 31 (revision: 1)" ready. Installing Android SDK Platform 31 in /opt/android-sdk-linux/platforms/android-31 "Install Android SDK Platform 31 (revision: 1)" complete. "Install Android SDK Platform 31 (revision: 1)" finished.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings 15 actionable tasks: 13 executed, 2 up-to-date Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 /home/jitpack/build/app/src/main/AndroidManifest.xml Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:starrysky] /home/jitpack/build/starrysky/build/intermediates/library_manifest/debug/AndroidManifest.xml as the library might be using APIs not available in 16 Suggestion: use a compatible library with a minSdk of at most 16, or increase this project's minSdk version to at least 21, or use tools:overrideLibrary="com.lzx.starrysky" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:processDebugManifest'.
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 2m 9s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2 Archive: build:starrysky:unspecified Publication: com.github.Vicent9920:ribbonlayout:3.0.0 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 Found artifact: com.github.Vicent9920:ribbonlayout:3.0.0 Found artifact: build:starrysky:unspecified 2022-07-22T06:30:25.033886419Z Exit code: 0
⚠️ ERROR: No build artifacts found Expected artifacts in: $HOME/.m2/repository/build/starrysky/unspecified