-
Notifications
You must be signed in to change notification settings - Fork 0
How to use it
Francisco Zuccalá edited this page Jan 30, 2018
·
2 revisions
Once you have configured the plugin, now you can start using it. To do that make sure:
- You have executed the task configureNexus
- Nexus has started (You can check the URL http://localhost:8081/nexus/#view-repositories)
After that, the only thing you have to do is add a reference in your project to this URL. For example:
- In a build.gradle in Android
buildscript {
repositories {
jcenter()
maven{url 'http://localhost:8081/nexus/content/public'}
}
}
- On a pom.xml or settings.xml for maven
<project>
...
<repositories>
<repository>
<id>Inhibitor</id>
<url>http://localhost:8081/nexus/content/public</url>
</repository>
</repositories>
...
</project>
And that's it, now you can use this maven as any other, for uploading or download
Gradle Plugin made by Francisco Zuccalá