diff --git a/build.gradle b/build.gradle index e99130398..7d06cb738 100644 --- a/build.gradle +++ b/build.gradle @@ -154,6 +154,10 @@ allprojects { mavenCentral() + /* + maven { + url "https://m2.duraspace.org/content/repositories/releases" + }*/ maven { url "https://maven.java.net/content/repositories/snapshots/" @@ -291,12 +295,19 @@ allprojects { /** * Distribution task; zipInstallDir first */ -task distZip(type:Zip, dependsOn: 'zipInstallDir') { +task distZip(type:Zip, dependsOn: ['zipInstallDir', ':search:war', ':processes:migration:distZip']) { description "Create full distribution zip" archiveBaseName.set('kramerius') group "Distribution" + + // Nastavení závislosti na spuštění po `:search:war` + //finalizedBy ':search:war' + // core war from {'search/build/libs'} + + //inputs.files file('search/build/libs/search.war') + // migration tool from {'processes/migration/build/distributions'} // installation.zip