gildor
05/23/2018, 7:29 AMtasks {
"jar"(Jar::class) {
manifest {
attributes 'Implementation-Title': project.name
}
}
}
Lex Luthra
05/23/2018, 7:36 AM"jar"(Jar::class) {
manifest {
attributes(mutableMapOf(
"Implementation-Title" to project.name
))
}
}
Could this have anything to do with it being a Spring Boot JAR?withType(Jar::class.java) {
manifest {
attributes(mutableMapOf(
"Implementation-Title" to project.name
))
}
}
Thanks for pointing in right direction 👍gildor
05/23/2018, 7:57 AMwithType(Jar::class.java)
you set this attribute for all tasks with type Jar, your original groovy snipped did this only for task with name “jar”, but you right, if Spring Boot have own Jar task this is the way to solve your problem, or set this to specific task