You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2022/08/02 05:52:23 UTC

[GitHub] [cordova] erisu commented on issue #308: Extend the feature of the framework tag in Plugin.xml

erisu commented on issue #308:
URL: https://github.com/apache/cordova/issues/308#issuecomment-1202047989

   You should be able to use the `resource-file` tag.
   
   ```xml
   <resource-file src="extra.gradle" target="repositories.gradle" />
   <resource-file src="extra.gradle" target="app/repositories.gradle" />
   <resource-file src="extra.gradle" target="CordovaLib/repositories.gradle" />
   ```
   
   Reference PRs:
   * https://github.com/apache/cordova-android/pull/867
   * https://github.com/apache/cordova-android/pull/1179
   * https://github.com/apache/cordova-android/pull/1300
   
   Example content of the gradle file that you would write to override the default `repositories.gradle`.
   
   ```gradle
   ext.repos = {
       mavenCentral()
       google()
       jcenter()
   }
   ```


-- 
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: commits-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org