Question
Areteans
IN
Last activity: 9 Mar 2021 7:58 EST
Compilation errors after adding third-party dependencies in android custom module
We are trying to create a custom module that integrates with ShuftiPro which is used for face identity verification. After successful compilation of the module, it is uploaded to the mobile channel. Now, when we are rebuilding the app, the build is failing with the logs below.
We have done all the three steps mentioned in "Adding third-party dependencies" community document.
Developing custom Pega Mobile Client modules for the Android platform | Pega
------ Log failure -----
We are trying to create a custom module that integrates with ShuftiPro which is used for face identity verification. After successful compilation of the module, it is uploaded to the mobile channel. Now, when we are rebuilding the app, the build is failing with the logs below.
We have done all the three steps mentioned in "Adding third-party dependencies" community document.
Developing custom Pega Mobile Client modules for the Android platform | Pega
------ Log failure -----
2021-03-09 14:43:51.113 INFO/MobileBuild: Daemon will be stopped at the end of the build stopping after processing 2021-03-09 14:43:51.114 INFO/MobileBuild: FAILURE: Build failed with an exception. 2021-03-09 14:43:51.115 INFO/MobileBuild: * What went wrong: 2021-03-09 14:43:51.116 INFO/MobileBuild: Could not determine the dependencies of task ':app:compileWebReleaseJavaWithJavac'. 2021-03-09 14:43:51.117 INFO/MobileBuild: > Could not resolve all task dependencies for configuration ':app:webReleaseCompileClasspath'. 2021-03-09 14:43:51.118 INFO/MobileBuild: > Could not find null:unspecified:null. 2021-03-09 14:43:51.119 INFO/MobileBuild: Required by: 2021-03-09 14:43:51.120 INFO/MobileBuild: project :app > com.pega.faceverification:FaceVerification-release:0.1-SNAPSHOT:20210309.085249-2 2021-03-09 14:43:51.121 INFO/MobileBuild: * Try: 2021-03-09 14:43:51.122 INFO/MobileBuild: 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. 2021-03-09 14:43:51.123 INFO/MobileBuild: * Get more help at https://help.gradle.org 2021-03-09 14:43:51.124 INFO/MobileBuild: BUILD FAILED in 1m 52s 2021-03-09 14:43:51.125 INFO/MobileBuild: Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. 2021-03-09 14:43:51.126 INFO/MobileBuild: Use '--warning-mode all' to show the individual deprecation warnings. 2021-03-09 14:43:51.127 INFO/MobileBuild: See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings 2021-03-09 14:43:51.128 INFO/MobileBuild: Execution failed for task ':customize'. 2021-03-09 14:43:51.129 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - END 2021-03-09 14:49:18.452 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - START 2021-03-09 14:49:18.453 INFO/MobileBuild: No customization logs available for build #10954 2021-03-09 14:49:18.454 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - END 2021-03-09 14:53:22.253 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - START 2021-03-09 14:53:22.254 INFO/MobileBuild: Customization logs:To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.3/userguide/gradle_daemon.html. 2021-03-09 14:53:22.255 INFO/MobileBuild: Daemon will be stopped at the end of the build stopping after processing 2021-03-09 14:53:22.256 INFO/MobileBuild: FAILURE: Build failed with an exception. 2021-03-09 14:53:22.257 INFO/MobileBuild: * What went wrong: 2021-03-09 14:53:22.258 INFO/MobileBuild: Could not determine the dependencies of task ':app:compileWebReleaseJavaWithJavac'. 2021-03-09 14:53:22.259 INFO/MobileBuild: > Could not resolve all task dependencies for configuration ':app:webReleaseCompileClasspath'. 2021-03-09 14:53:22.260 INFO/MobileBuild: > Could not find null:unspecified:null. 2021-03-09 14:53:22.261 INFO/MobileBuild: Required by: 2021-03-09 14:53:22.262 INFO/MobileBuild: project :app > com.pega.faceverification:FaceVerification-release:0.1-SNAPSHOT:20210309.085249-2 2021-03-09 14:53:22.263 INFO/MobileBuild: * Try: 2021-03-09 14:53:22.264 INFO/MobileBuild: 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. 2021-03-09 14:53:22.265 INFO/MobileBuild: * Get more help at https://help.gradle.org 2021-03-09 14:53:22.266 INFO/MobileBuild: BUILD FAILED in 1m 49s 2021-03-09 14:53:22.267 INFO/MobileBuild: Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. 2021-03-09 14:53:22.268 INFO/MobileBuild: Use '--warning-mode all' to show the individual deprecation warnings. 2021-03-09 14:53:22.269 INFO/MobileBuild: See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings 2021-03-09 14:53:22.270 INFO/MobileBuild: Execution failed for task ':customize'. 2021-03-09 14:53:22.271 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - END 2021-03-09 16:33:14.689 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - START 2021-03-09 16:33:14.690 INFO/MobileBuild: Customization logs:To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/6.3/userguide/gradle_daemon.html. 2021-03-09 16:33:14.691 INFO/MobileBuild: Daemon will be stopped at the end of the build stopping after processing 2021-03-09 16:33:14.692 INFO/MobileBuild: FAILURE: Build failed with an exception. 2021-03-09 16:33:14.693 INFO/MobileBuild: * What went wrong: 2021-03-09 16:33:14.694 INFO/MobileBuild: Could not determine the dependencies of task ':app:lintVitalWebRelease'. 2021-03-09 16:33:14.695 INFO/MobileBuild: > Could not resolve all artifacts for configuration ':app:webDebugCompileClasspath'. 2021-03-09 16:33:14.696 INFO/MobileBuild: > Could not find null:unspecified:null. 2021-03-09 16:33:14.697 INFO/MobileBuild: Required by: 2021-03-09 16:33:14.698 INFO/MobileBuild: project :app > com.pega.faceverification:FaceVerification-release:0.1-SNAPSHOT:20210309.105332-3 2021-03-09 16:33:14.699 INFO/MobileBuild: * Try: 2021-03-09 16:33:14.700 INFO/MobileBuild: 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. 2021-03-09 16:33:14.701 INFO/MobileBuild: * Get more help at https://help.gradle.org 2021-03-09 16:33:14.702 INFO/MobileBuild: BUILD FAILED in 1m 54s 2021-03-09 16:33:14.703 INFO/MobileBuild: Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. 2021-03-09 16:33:14.704 INFO/MobileBuild: Use '--warning-mode all' to show the individual deprecation warnings. 2021-03-09 16:33:14.705 INFO/MobileBuild: See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings 2021-03-09 16:33:14.706 INFO/MobileBuild: Execution failed for task ':customize'. 2021-03-09 16:33:14.707 INFO/MobileBuild: Logs from mobile app build 'RULE-CHANNEL-MOBILE B949EE10-4F3A-4B3C-860A-A8B170454362 #20210302T080750.454 GMT' for android platform. - END
Please let us know if there are any additional steps / configuration to be performed