Fixed issues building examples
This commit is contained in:
parent
f354e50b47
commit
d67c0530bb
|
@ -375,8 +375,8 @@ task jarSwingExample(type: Jar) {
|
||||||
|
|
||||||
// add all of the main project jars as a fat-jar for all examples, exclude the Utilities.jar contents
|
// add all of the main project jars as a fat-jar for all examples, exclude the Utilities.jar contents
|
||||||
from configurations.runtimeClasspath
|
from configurations.runtimeClasspath
|
||||||
.findAll {it.name.endsWith('jar')}
|
.findAll {it.name.endsWith('jar') && it.name != 'Utilities.jar'}
|
||||||
.collect {zipTree(it)}
|
.collect { zipTree(it)}
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes['Main-Class'] = 'dorkbox.TestTray'
|
attributes['Main-Class'] = 'dorkbox.TestTray'
|
||||||
|
@ -396,7 +396,7 @@ task jarJavaFxExample(type: Jar) {
|
||||||
|
|
||||||
// add all of the main project jars as a fat-jar for all examples, exclude the Utilities.jar contents
|
// add all of the main project jars as a fat-jar for all examples, exclude the Utilities.jar contents
|
||||||
from configurations.runtimeClasspath
|
from configurations.runtimeClasspath
|
||||||
.findAll {it.name.endsWith('jar')}
|
.findAll {it.name.endsWith('jar') && it.name != 'Utilities.jar'}
|
||||||
.collect {zipTree(it)}
|
.collect {zipTree(it)}
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
|
@ -421,7 +421,7 @@ task jarSwtExample(type: Jar) {
|
||||||
|
|
||||||
// add all of the main project jars as a fat-jar for all examples, exclude the Utilities.jar contents
|
// add all of the main project jars as a fat-jar for all examples, exclude the Utilities.jar contents
|
||||||
from configurations.runtimeClasspath
|
from configurations.runtimeClasspath
|
||||||
.findAll {it.name.endsWith('jar')}
|
.findAll {it.name.endsWith('jar') && it.name != 'Utilities.jar'}
|
||||||
.collect {zipTree(it)}
|
.collect {zipTree(it)}
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user