Include native artifacts in distribution.

This commit is contained in:
Chris Rankin 2017-01-31 10:20:16 +00:00
parent 0bdd8c23b6
commit d43cf05d0b

View File

@ -53,7 +53,7 @@ dependencies {
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
compile "ch.qos.logback:logback-classic:$logback_version"
compile "com.typesafe:config:$typesafe_config_version"
compile ":jediterm-terminal-2.5"
compile ':jediterm-terminal-2.5'
compile ':pty4j-0.7.2'
testCompile group: 'junit', name: 'junit', version: "$junit_version"
@ -64,3 +64,19 @@ jar {
attributes 'Main-Class': mainClassName
}
}
distributions {
main() {
contents {
into('lib/linux') {
from 'libs/linux'
}
into('lib/macosx') {
from 'libs/macosx'
}
into('lib/win') {
from 'libs/win'
}
}
}
}