Skip to content

Commit

Permalink
Tasks depenencyTasks depenency
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-stastny committed Oct 28, 2024
1 parent 68762b4 commit 9ec3de9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ allprojects {
mavenCentral()


/*
maven {
url "https://m2.duraspace.org/content/repositories/releases"
}*/

maven {
url "https://maven.java.net/content/repositories/snapshots/"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9ec3de9

Please sign in to comment.