简体   繁体   中英

How Grails plugin hard depenencies work?

I found plugin that has dependencies defined in BuildConfig.groovy and same dependencies duplicated in plugin manifest like this:

def dependsOn = [foo: "* > 1.0"]

Are this definitions same?

dependsOn shouldn't be used in 2.0 and higher. We no longer use that setting - dependencies are specified in BuildConfig.groovy and those are used to generate a POM file when releasing the plugin. The POM is used when installing the plugin to determine jar and plugin dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM