Build: Run assemble automatically before running cli from gradle (elastic/x-pack-elasticsearch#2918)

Original commit: elastic/x-pack-elasticsearch@43f7396764
This commit is contained in:
Luca Cavanna 2017-11-07 20:51:07 +01:00 committed by GitHub
parent 330fdc19c3
commit 753a8d6a6d

View File

@ -73,6 +73,7 @@ thirdPartyAudit.excludes = [
task run {
description = 'Run the CLI and connect to elasticsearch running on 9200'
dependsOn 'assemble'
doLast {
List command = [new File(project.javaHome, 'bin/java').absolutePath]
if ('true'.equals(System.getProperty('debug', 'false'))) {