mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-27 15:34:14 +01:00
31 lines
No EOL
582 B
Groovy
31 lines
No EOL
582 B
Groovy
apply plugin: 'java'
|
|
|
|
group = 'fr.xgouchet'
|
|
|
|
|
|
dependencies {
|
|
// TODO UNIT TESTS
|
|
}
|
|
|
|
// Additional tasks for jitpack.io
|
|
|
|
// build a jar with source files
|
|
task sourcesJar(type: Jar) {
|
|
from sourceSets.main.java.srcDirs
|
|
archiveClassifier.set("sources")
|
|
}
|
|
|
|
// build a jar with javadoc
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
archiveClassifier.set("javadoc")
|
|
from javadoc.destinationDir
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
archives javadocJar
|
|
}
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
} |