Skip to content
Snippets Groups Projects
Commit ecae4f51 authored by Johannes Mey's avatar Johannes Mey
Browse files

exclude model.jar from jar

parent d37e7c07
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ jar {
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
configurations.runtimeClasspath.collect { return (it.exists() && !it.toString().endsWith("model.jar")) ? (it.isDirectory() ? it : zipTree(it)) : null }
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment