gradle-plugin-git-dependencies icon indicating copy to clipboard operation
gradle-plugin-git-dependencies copied to clipboard

How to use module within dependency?

Open ened opened this issue 12 years ago • 1 comments

Great plugin & excuse me opening an issue but it seems a limitation. Say I have a gradle repo like this: https://github.com/ened/JazzyViewPager

/
/lib
/sample

The interesting module is /lib. How could I reference that module and ensure it becomes a dependency like other module dependencies using compile project(':moduleName')

ened avatar Jul 26 '13 08:07 ened

Basically a syntax similar to this:

compile project(':lib', 'branch').ext.git = 'https://github.com/ened/JazzyViewPager.git'

Use module :lib out of branch branch from external git repository at https://...

ened avatar Jul 26 '13 08:07 ened