buildozer icon indicating copy to clipboard operation
buildozer copied to clipboard

[Feature Request] Rebuild options ?

Open jhay06 opened this issue 1 year ago • 1 comments

Hi , would like to request to add Rebuild option I noticed that running buildozer android debug in clean state takes too much time to complete, and running it for the 2nd time is much faster that the 1st one but still it takes too much time to complete the process , even if i did not do anything on the source code but just run again the buildozer ,

I found out that running buildozer android debug , the build steps is always the same

would like to ask if this is possible if we can add rebuild option that will do the same steps as running the buildozer android debug for the second time , maybe buildozer android debug --rebuild will do . and the original buildozer android debug when running it for the second time it will skip all the process except building the python source code and compile it to .tar file then running a gradle build script instead of running the whole process to check if recipes were changed or recipes have done building. this will save time if we have no changes on recipes /dependencies of the app.

Thanks

jhay06 avatar Jul 30 '22 23:07 jhay06

or if we can have a dependency library where we can upload the build libraries to that server and once buildozer find that there's already build for that library , it will skip the build step for that library and then pull the build from the server ,

because those library is building either x86, x86_64, arm64 , armeabi-v7a etc, with the same line of codes if there's no update for those library from the owner. also we have an option to declare which version we will need to pull for our project .

Thanks

jhay06 avatar Jul 31 '22 01:07 jhay06