burhanuddin-taha opened a new issue, #1759:
URL: https://github.com/apache/cordova-android/issues/1759

   # Feature Request
   
   ## Motivation Behind Feature
   <!-- Why should this feature be implemented? What problem does it solve? -->
   Currently all the repo can be overridden by using extra.gradle. as changes 
done under feat: add custom repositories support #867 
   
   
   But still cordovaLib is using cordova.gradle have block 
   repositories {
           google()
           mavenCentral()
       }
   which means dependency io.github.g00fy2:versioncompare:1.4.1@jar could not 
be resolved using any internal artifact repository server like jfrog 
artifactory or nexus, 
   
   
   ## Feature Description
   
   Extend the existing feature provided under feat: add custom repositories 
support #867    to cordova.gradle, means instead hardcoded repositories
   repositories {
           google()
           mavenCentral()
       }
   
   Read the repos from the already placed repositories.gradle, 
   which is already in place for androidLib/build.gradle file. Same should be 
go in to the cordova.gradle. here is the example
   
   buildscript {
       apply from: 'repositories.gradle'
   
       repositories repos
   
       dependencies {
           classpath 'io.github.g00fy2:versioncompare:1.4.1@jar'
       }
   }
   
   
   ## Alternatives or Workarounds
   Currently only workaround is to write custom hook to replace the repos 
mentioned in the cordova.gradle after platform add. 
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.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