https://github.com/jitpack/gradle-multiple-jars
Gradle project producing two jars from single source directory
https://github.com/jitpack/gradle-multiple-jars
Last synced: 8 months ago
JSON representation
Gradle project producing two jars from single source directory
- Host: GitHub
- URL: https://github.com/jitpack/gradle-multiple-jars
- Owner: jitpack
- Created: 2015-02-01T16:31:22.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-28T14:07:28.000Z (almost 11 years ago)
- Last Synced: 2025-02-01T18:11:16.421Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 156 KB
- Stars: 15
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```gradle
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:
```gradle
compile 'com.github.jitpack:gradle-multiple-jars:1.0.1'
```