From 45fe474f20a9189e69b6ed6f977a89a84163610e Mon Sep 17 00:00:00 2001 From: Joyeeta Pal Date: Thu, 17 Oct 2024 14:53:26 +0530 Subject: [PATCH] Update azure-maven-publish-1espt.yml for Azure Pipelines --- android/azure-maven-publish-1espt.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/android/azure-maven-publish-1espt.yml b/android/azure-maven-publish-1espt.yml index 99f3a5d8b9..26e255c25d 100644 --- a/android/azure-maven-publish-1espt.yml +++ b/android/azure-maven-publish-1espt.yml @@ -25,7 +25,7 @@ extends: outputs: - output: pipelineArtifact displayName: 'Publish library artifact to pipeline' - targetPath: '$(build.sourcesdirectory)/build/artifacts/com/microsoft/design' + targetPath: 'android/build/artifacts/com/microsoft/design' artifactName: 'aar' publishLocation: 'pipeline' steps: @@ -42,7 +42,8 @@ extends: ls - task: Gradle@3 inputs: - gradleWrapperFile: 'gradlew' + gradleWrapperFile: 'android/gradlew' + workingDirectory: 'android' tasks: "assembleRelease" options: "-PversionName=$(VERSION_NAME)" publishJUnitResults: false @@ -53,7 +54,8 @@ extends: - task: Gradle@2 displayName: Gradle publish inputs: - gradleWrapperFile: 'gradlew' + gradleWrapperFile: 'android/gradlew' + workingDirectory: 'android' tasks: 'publish' publishJUnitResults: false javaHomeOption: 'JDKVersion'