From c0de9c96fe30c29bc7c505e5604e285e08feec0c Mon Sep 17 00:00:00 2001
From: juanf <juanf@ethz.ch>
Date: Tue, 13 Jun 2023 12:58:51 +0200
Subject: [PATCH] Remove Dropbox Javadoc

---
 core-plugin-openbis/build.gradle     |  3 ++-
 core-plugin-openbis/query-api.gradle | 29 ++++++++++++++--------------
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/core-plugin-openbis/build.gradle b/core-plugin-openbis/build.gradle
index 350a7a0dbd1..1441cd030bb 100644
--- a/core-plugin-openbis/build.gradle
+++ b/core-plugin-openbis/build.gradle
@@ -514,7 +514,8 @@ task serverApplicationServerJavadocZip(type: Zip, dependsOn: serverApplicationSe
     from serverApplicationServerJavadoc.destinationDir
 }
 
-task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, dropboxApiZip, screeningApiZip, pybisZip, obisZip,
+// TODO: Add dropboxApiZip
+task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, screeningApiZip, pybisZip, obisZip,
                                            dropboxJavaDocZip, dynamicApiJavadocZip, libOpenbisCommonJavadocZip,
                                            serverOriginalDataStoreJavadocZip, serverApplicationServerJavadocZip]) {
     baseName 'openBIS-clients-and-APIs'
diff --git a/core-plugin-openbis/query-api.gradle b/core-plugin-openbis/query-api.gradle
index bf53ad8a8db..460047ee7a5 100644
--- a/core-plugin-openbis/query-api.gradle
+++ b/core-plugin-openbis/query-api.gradle
@@ -262,20 +262,21 @@ task apiV3Zip(type: Zip, dependsOn: [apiV3JarBatteriesIncluded, apiV3Sources, ap
 
 /////////// DROPBOX API V2 ////////////////////
 
-task dropboxApiJar(type: Jar) {
-    baseName 'openBIS-API-dropbox'
-    includeEmptyDirs false
-    from project(':server-original-data-store').compileJava.outputs.getFiles().getAsFileTree().matching {
-        include "ch/systemsx/cisd/etlserver/registrator/api/v2/*.class"
-        include "ch/systemsx/cisd/etlserver/registrator/api/v2/impl/*.class"
-    }
-}
-
-task dropboxApiZip(type: Zip, dependsOn: [dropboxApiJar]) {
-    baseName 'openBIS-API-dropbox'
-    from dropboxApiJar.archivePath
-    into 'openBIS-API-dropbox'
-}
+// TODO: Add dropboxApiJar and dropboxApiZip
+//task dropboxApiJar(type: Jar) {
+//    baseName 'openBIS-API-dropbox'
+//    includeEmptyDirs false
+//    from project(':server-original-data-store').compileJava.outputs.getFiles().getAsFileTree().matching {
+//        include "ch/systemsx/cisd/etlserver/registrator/api/v2/*.class"
+//        include "ch/systemsx/cisd/etlserver/registrator/api/v2/impl/*.class"
+//    }
+//}
+//
+//task dropboxApiZip(type: Zip, dependsOn: [dropboxApiJar]) {
+//    baseName 'openBIS-API-dropbox'
+//    from dropboxApiJar.archivePath
+//    into 'openBIS-API-dropbox'
+//}
 
 configurations.create('dropboxApiJavadoc')
 dependencies {
-- 
GitLab