GitHub user breautek added a comment to the discussion: Build app for old 
Android app

Short answer is no, not really.

Gradle builds does support multiple repositories and will search each repo for 
a requested dependency. This would involve manipulating the generated cordova 
project (I believe the `settings.gradle` file). So if you can find an existing 
mirror that mirrored the old jcenter repositories and contains the required 
dependencies... then that could be your golden ticket.

Otherwise you would have to source those dependencies manually which would be 
an immense amount of work. Dependency trees tends to be massive so sourcing 
those dependencies manually is something not very realistic. If any part of the 
dependency tree depends on closed-source software, it might be even impossible 
to manually reconstruct the dependency tree.

But assuming that all the missing dependencies can be obtained, you would 
probably then have to create your own maven repository (which could be local 
server) and add that to the repos list in the gradle build config. This way the 
dependencies can be resolved by the gradle build, falling back to your own 
local maven server for the otherwise missing dependencies.


GitHub link: 
https://github.com/apache/cordova/discussions/495#discussioncomment-10686376

----
This is an automatically sent email for issues@cordova.apache.org.
To unsubscribe, please send an email to: issues-unsubscr...@cordova.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to