Before I go off to stack overflow, can anyone think of a reason why my fatjar script isn't including anything from my /src/main/resources (but is including resources from other dependencies)?
Copy code
jar{
// required for building JAR files
baseName = 'bascule'
version = '0.0.1'
manifest {
attributes(
'Main-Class': 'org.liamjd.bascule.MainKt'
)
}
from('/src/main/resources') {
include '*'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
g
gildor
09/02/2018, 8:31 AM
I would use shadowjar plugin instead of manual config