What is the recommended way to distribute Modules?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the recommended way to distribute Modules?

uris77
Is there a recommended way of distributing modules? Finding myself copying modules across projects and was wondering what is the best way to do that. I noticed there is a special ratpack.dependency() statement in build.gradle, which made me wonder if there is something else going on under the covers for modules.
Reply | Threaded
Open this post in threaded view
|

Re: What is the recommended way to distribute Modules?

Luke Daley
Administrator
There’s nothing magic here. It’s just creating Gradle dependency notation strings.

Sharing modules is no different to sharing any other kind of library code, as it’s just a JAR. So, however you would reuse other code is how you would reuse modules.