Skip to content

Commit

Permalink
Merge pull request #141 from WeBankFinTech/develop
Browse files Browse the repository at this point in the history
pre release eventmesh 1.0.0
  • Loading branch information
iNanos committed Aug 20, 2020
2 parents d89c988 + c73aa8f commit 2d509b9
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions eventmesh-emesher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,40 @@ if (project.findProperty("buildNo") instanceof String) {
versionString = project.version + '_' + project.property("buildNo")
}

task zip(type: Zip) {
extension = 'zip'
archiveName = project.name + '_' + versionString + '.' + extension
destinationDir = new File(projectDir, 'dist')

into('apps') {
from project.jar.getArchivePath()
}

into('bin') {
from 'bin'
}

into('conf') {
from "conf"
}

into('lib') {
from project.configurations.runtime
exclude '**/*.properties*'
exclude '**/*testng*.jar'
exclude '**/*powermock*.jar'
exclude '**/*mockito*.jar'
exclude '**/*junit*.jar'
exclude '**/*jacoco*.jar'
exclude '**/*log4j2.xml*'
exclude '**/spring-boot-devtools*.jar'
}

into('scripts') {
from "scripts"
}
}

task tar(type: Tar, dependsOn: ['clean', 'jar']) {
extension = 'tar.gz'
compression = Compression.GZIP
Expand Down

0 comments on commit 2d509b9

Please sign in to comment.