The flavor that you want the task for, e.g. For tasks such as assembleMyFlavorRelease you should use gradle(task: 'assemble', flavor: 'Myflavor', build_type: 'Release') The gradle task you want to execute, e.g. To pass any other CLI flags to gradle use: gradle(ĭelete the build directory, generated APKs and AABs gradle( You can also suppress printing the output generated by running the generated Gradle command: gradle( If you need to pass sensitive information through the gradle action, and don't want the generated command to be printed before it is run, you can suppress that: gradle( You can use this to automatically sign and zipalign your app: gradle( You can use this to change the version code and name of your app: gradle( You can pass properties to gradle: gradle( ![]() You can pass multiple gradle tasks: gradle( gradlew tasks to get a list of all available gradle tasks for your project gradle All gradle related actions, including building and testing your Android app
0 Comments
Leave a Reply. |