This forces 660 (-rw-rw---) permissions for extracted JAR so repeated extraction does not fail. Previously some JARs were extracted as read-only and these could not be rewritten.
I also changed the way list of AAR files is sourced. Now both extractClasses and copyAars use aar configurations so the list of dependencies is known beforehand and first ./gradlew build no longer fails. I also merged the separate tasks for each dependency to the extractClasses.
Closes https://github.com/GitLiveApp/firebase-java-sdk/issues/10
This forces 660 (-rw-rw---) permissions for extracted JAR so repeated extraction does not fail. Previously some JARs were extracted as read-only and these could not be rewritten.
I also changed the way list of AAR files is sourced. Now both
extractClasses
andcopyAars
useaar
configurations so the list of dependencies is known beforehand and first./gradlew build
no longer fails. I also merged the separate tasks for each dependency to theextractClasses
.