Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 523 Bytes

File metadata and controls

23 lines (15 loc) · 523 Bytes

gradle-multiple-jars

Example Gradle project producing two jars from single source directory:

  • API from src/api
  • Impl from src/impl

Both jars are installed to local maven reactor with:

gradle install

To add them to build.gradle use the following syntax:

 compile 'com.github.jitpack.gradle-multiple-jars:api:1.0.1'
 compile 'com.github.jitpack.gradle-multiple-jars:impl:1.0.1'

Or to add them both together:

 compile 'com.github.jitpack:gradle-multiple-jars:1.0.1'