build.gradle: add distribution option
This commit is contained in:
27
build.gradle
27
build.gradle
@ -1,11 +1,13 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'application'
|
||||
id 'distribution'
|
||||
id "com.github.johnrengelman.shadow" version "2.0.4"
|
||||
id "com.adarshr.test-logger" version "1.2.0"
|
||||
}
|
||||
|
||||
mainClassName = 'App'
|
||||
version = '0.2.2'
|
||||
|
||||
dependencies {
|
||||
compile 'com.google.guava:guava:23.0'
|
||||
@ -44,6 +46,31 @@ testlogger {
|
||||
//showExceptions false
|
||||
}
|
||||
|
||||
distributions {
|
||||
main {
|
||||
contents {
|
||||
into('csv') {
|
||||
from('.') {
|
||||
include 'EURUSD-2017-01-*.csv'
|
||||
}
|
||||
}
|
||||
into('epl') {
|
||||
from('.') {
|
||||
include '*.epl'
|
||||
}
|
||||
}
|
||||
|
||||
// exclude('**/.data/**')
|
||||
// from('src/main/webapp') {
|
||||
// include '**/*.jsp'
|
||||
// }
|
||||
// from('src/main/js') {
|
||||
// include '**/*.js'
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
test {
|
||||
testLogging.showStandardStreams = true
|
||||
|
||||
Reference in New Issue
Block a user