Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example applying a plugin to settings.gradle.
// REMOTE MAVEN
buildscript {
repositories { mavenCentral() }
dependencies { classpath 'io.invertase.gradle:react-native:+' }
}
apply plugin: "io.invertase.gradle.settings"
// OR ---------------
// LOCAL MAVEN
buildscript {
repositories { maven { url uri('/Volumes/Projects/Projects/react-native-gradle-plugin/repo') }}
dependencies { classpath 'io.invertase.gradle:react-native:+' }
}
apply plugin: "io.invertase.gradle.settings"
// --------------------
include ':app'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment