23 lines
419 B
Groovy
23 lines
419 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
|
|
dependencies {
|
|
compile project(':lib')
|
|
compile 'org.hid4java:hid4java:0.5.0'
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
classifier = 'javadoc'
|
|
from javadoc.destinationDir
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
archives javadocJar
|
|
}
|