Browse Source

Merge pull request #321 from jochenberger/patch-4

Fix distribution bundle
pull/325/head
kallestenflo 8 years ago committed by GitHub
parent
commit
1b74a3b567
  1. 8
      json-path/build.gradle

8
json-path/build.gradle

@ -39,7 +39,7 @@ task distZip(type: Zip, dependsOn: assemble) {
} }
from(project.configurations.compile) { from(project.configurations.compile) {
into 'lib' into 'lib'
exclude { it.file.name.contains('gson') || it.file.name.contains('jackson') || it.file.name.contains('json-2') || it.file.name.contains('jettison') } exclude { it.file.name.contains('gson') || it.file.name.contains('jackson') || it.file.name.contains('json-2') || it.file.name.contains('jettison') || it.file.name.contains('tapestry') }
} }
from(project.configurations.compile) { from(project.configurations.compile) {
into 'lib-optional/jackson' into 'lib-optional/jackson'
@ -58,7 +58,7 @@ task distZip(type: Zip, dependsOn: assemble) {
include { it.file.name.contains('json-2') } include { it.file.name.contains('json-2') }
} }
from(project.configurations.compile) { from(project.configurations.compile) {
into 'lib-optional/jsonOrg' into 'lib-optional/tapestry'
include { it.file.name.contains('tapestry') } include { it.file.name.contains('tapestry') }
} }
} }
@ -79,7 +79,7 @@ task distTar(type: Tar, dependsOn: assemble) {
} }
from(project.configurations.compile) { from(project.configurations.compile) {
into 'lib' into 'lib'
exclude { it.file.name.contains('gson') || it.file.name.contains('jackson') || it.file.name.contains('json-2') || it.file.name.contains('jettison') } exclude { it.file.name.contains('gson') || it.file.name.contains('jackson') || it.file.name.contains('json-2') || it.file.name.contains('jettison') || it.file.name.contains('tapestry') }
} }
from(project.configurations.compile) { from(project.configurations.compile) {
into 'lib-optional/jackson' into 'lib-optional/jackson'
@ -98,7 +98,7 @@ task distTar(type: Tar, dependsOn: assemble) {
include { it.file.name.contains('json-2') } include { it.file.name.contains('json-2') }
} }
from(project.configurations.compile) { from(project.configurations.compile) {
into 'lib-optional/jsonOrg' into 'lib-optional/tapestry'
include { it.file.name.contains('tapestry') } include { it.file.name.contains('tapestry') }
} }
} }

Loading…
Cancel
Save