Skip to content
Snippets Groups Projects
Commit 3b612fc9 authored by juanf's avatar juanf
Browse files

SSDM-12951 : Dropbox Javadocs available with the build of standard technologies

parent ebe19617
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -29,8 +29,8 @@ configurations.all {
// gradleVersion = '4.10.3'
// distributionUrl = "https://services.gradle.org/distributions/gradle-4.10.3-bin.zip"
//}
sourceCompatibility='1.8'
targetCompatibility='1.8'
sourceCompatibility='11'
targetCompatibility='11'
sourceSets {
main {
......@@ -403,5 +403,6 @@ publish {
if (JavaVersion.current().isJava8Compatible()) {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'utf-8')
}
}
......@@ -475,7 +475,7 @@ task obisZip(type: Zip) {
from '../obis/'
}
task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, screeningApiZip, pybisZip, obisZip]) {
task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, screeningApiZip, pybisZip, obisZip, dropboxJavaDocZip]) {
baseName 'openBIS-clients-and-APIs'
from dssClientZip.archivePath
from queryApiZip.archivePath
......@@ -483,6 +483,7 @@ task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip,
from screeningApiZip.archivePath
from pybisZip.archivePath
from obisZip.archivePath
from dropboxJavaDocZip.archivePath
from ('dist/client/readme.txt')
rename { filename ->
if (filename.startsWith('pybis-')) {
......
......@@ -259,3 +259,23 @@ task apiV3Zip(type: Zip, dependsOn: [apiV3JarBatteriesIncluded, apiV3Sources, ap
from configurations.apiV3Dependencies
into 'openBIS-API-V3'
}
/////////// DROPBOX API V2 ////////////////////
configurations.create('dropboxApiJavadoc')
dependencies {
dropboxApiJavadoc project(':datastore_server')
}
task dropboxApiJavadoc(type: Javadoc) {
source project(':datastore_server').files('source/java').getAsFileTree().matching {
include "ch/systemsx/cisd/etlserver/registrator/api/v2/*.java"
include "ch/systemsx/cisd/etlserver/registrator/api/v2/impl/*.java"
}
classpath = configurations.dropboxApiJavadoc
}
task dropboxJavaDocZip(type: Zip, dependsOn: dropboxApiJavadoc) {
archiveName 'javadoc-dropbox-api.zip'
from dropboxApiJavadoc.destinationDir
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment