Skip to content

Conversation

rupeshkumar22
Copy link
Contributor

@rupeshkumar22 rupeshkumar22 commented Jul 17, 2023

Fixes #741

With this PR gradlew.zip file will get replaced with the new gradlew.zip file which includes gradle-wrapper.jar which is required in case we run a gradlew command otherwise it shows error.
Also, remove root is set to false so that the wrapper folder must be generated properly inside the gradle folder inside the root folder.

The newly added gradlew.zip file is zipped with the files generated in an exported project with the gradle wrapper command-
gradle wrapper --gradle-version 7.4.1 --distribution-type all
More information for the above command is mentioned on the official pages.

Existing Structure of Exported Project-
Root -> wrapper -> gradle-wrapper.properties

Structure of Exported Project after applying changes-
Root -> gradle -> wrapper -> gradle-wrapper.properties
Root -> gradle -> wrapper -> gradle-wrapper.jar

To verify the changes gradlew assembleDebug command was executed in exported project directory and the build was successful.

@ranaaditya @codeanticode Could you please review? Let me know in case any information is required.

Thanks,
Rupesh

@ranaaditya
Copy link
Member

Hi @codeanticode , i have reviewed this Pr, can you also check the changes once.

This solves the #741

once you review it, I wil merge it then.

Thanks,
Aditya Rana

@codeanticode codeanticode merged commit 175f45c into processing:main Sep 11, 2023
@codeanticode
Copy link
Contributor

This is great, thanks for the PR @rupeshkumar22, and for the review @ranaaditya

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

Successfully merging this pull request may close these issues.

Export Android project is broken
3 participants