Giter Club home page Giter Club logo

Comments (9)

ipBill avatar ipBill commented on June 6, 2024

Same you It's not working. type aab

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on June 6, 2024

@CedrickFlocon @ipBill
Hi! Yeap, it doesn't work yet. Thx for created issue. To continue using the plugin you can temporary apply buildFile plugin parameter. For example

buildFile = "$projectDir/build/outputs/bundle/release/sample1-release.aab"

from huawei-appgallery-publish-gradle-plugin.

juliocbcotta avatar juliocbcotta commented on June 6, 2024

I also have this issue, but my apk name is generated dynamically so I can't just put it in the gradle file.

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on June 6, 2024

@BugsBunnyBR Hi!
To dynamically detect the build file on unix system you can use cli parameter --buildFile before fixing this issue. Something like that

./gradlew publishHuaweiAppGalleryRelease \                                                                                                                               ✔     
    --buildFile=$(ls ./app/build/outputs/apk/release/*.apk| head -1) \
    --buildFormat=apk

I understand that this is not very convenient, but this will temporarily solve your problem
before fixing the bug to dynamically detect the build file you can use something like that

from huawei-appgallery-publish-gradle-plugin.

juliocbcotta avatar juliocbcotta commented on June 6, 2024

@cosic , could you take a look at the PR?

from huawei-appgallery-publish-gradle-plugin.

juliocbcotta avatar juliocbcotta commented on June 6, 2024

Can we have a release or at least a SNAPSHOT version to test now that the PR was merged?

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on June 6, 2024

@BugsBunnyBR Yeap, you can check your changes at 1.2.2-SNAPSHOT version

from huawei-appgallery-publish-gradle-plugin.

juliocbcotta avatar juliocbcotta commented on June 6, 2024

I tested the snapshot in AGP 4.1.1 and it worked.

it would be great to have an option dry-run that does everything that needs to do but abort the upload right before it starts sending data... so we could test the AGP integration more easily.

from huawei-appgallery-publish-gradle-plugin.

cosic avatar cosic commented on June 6, 2024

@BugsBunnyBR My dream is to write tests to test this. But you can execute plugin for sample1 project. It'll find build file and return error for Rest API request.

from huawei-appgallery-publish-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.