n92
n92

Reputation: 7592

How to check for a module exits and include it in resources in grails

I have a module defined as below, which depends on other module.

'myTestService' {
    dependsOn "otherTestService"
}

otherTestService is defined in another plugin But that plugin may not be included always,So the app works fine if the module found otherwise, it will throw an error.

So, How to safely include this module.

Upvotes: 0

Views: 30

Answers (0)

Related Questions