Hi All,
I am trying to build the bootJar with main source, test source, main runtime classpath and test runtime classpath using spring-boot-gradle-plugin:2.1.3.RELEASE.
bootJar {
baseName=project.repository
launchScript()
from sourceSets.main.output
from sourceSets.test.output
from("${projectDir}/src/main/resources/META-INF/resources") {
into "META-INF/resources"
}
from('src/test/resources') {
include '**'
}
}
Test Runtime classpath is not setting properly.
Could someone guide me on setting classpath in the bootJar task?