Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Gradle@2 task fails when generating a release apk #19227

Closed
4 tasks
shehanGuruge opened this issue Nov 6, 2023 · 0 comments
Closed
4 tasks

[BUG]: Gradle@2 task fails when generating a release apk #19227

shehanGuruge opened this issue Nov 6, 2023 · 0 comments

Comments

@shehanGuruge
Copy link

shehanGuruge commented Nov 6, 2023

Task name

Gradle@2

Task version

No response

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows latest

Task log

- task: Gradle@2
    displayName: "Gradle Assemble Release"
    inputs:
      gradleWrapperFile: 'gradlew'
      tasks: 'assembleRelease'
      publishJUnitResults: false
      javaHomeOption: 'JDKVersion'
      jdkVersionOption: '1.11'
      sonarQubeRunAnalysis: false
      spotBugsAnalysis: false

Relevant log output

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:dataBindingMergeDependencyArtifactsRelease'.
> Could not resolve all files for configuration ':app:releaseCompileClasspath'.
   > Could not find com.github.DantSu:ESCPOS-ThermalPrinter-Android:3.2.1.
     Required by:
         project :app

* 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

Aditional info

I am getting a strange issue in azure pipelines in Gradle@2 assemble release task now when building the application. It was working fine before and no changes were done in the gradle files and the pipeline.yml files. Please note that no changes were done in the gradle files or the yml files, and they were working fine a couple of weeks before. And today suddenly I encountered this issue. Any assistance on this would be greatly appreciated. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant