Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Documentation for GRAILS-6321 "Should be able to override dependency …

…repositories for plugins"
  • Loading branch information...
commit cb36c9bf4e886ec4860c0352a64b906d1adad8fe 1 parent e54bcc9
graemerocher graemerocher authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 src/guide/3.7.2 Dependency Repositories.gdoc
14 src/guide/3.7.2 Dependency Repositories.gdoc
View
@@ -25,6 +25,20 @@ repositories {
}
{code}
+h4. Controlling Repositories Inherited from Plugins
+
+A plugin you have installed my define a reference to a remote repository just as an application can. By default your application will inherit this repository definition when you install the plugin.
+
+If you do not wish to inherit repository definitions from plugins then you can disable repository inheritance:
+
+{code:java}
+repositories {
+ inherit false
+}
+{code}
+
+In this case your application will not inherit any repository definitions from plugins and it is down to you to provide appropriate (possibly internal) repository definitions.
+
h4. Local Resolvers
If you do not wish to use a public Maven repository you can specify a flat file repository:
Please sign in to comment.
Something went wrong with that request. Please try again.