Created
January 12, 2019 03:53
-
-
Save Salakar/7a9e1f1552c0c7dcc9ae3290089fbacd to your computer and use it in GitHub Desktop.
Example applying a plugin to settings.gradle.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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