1. jar {
    2. baseName = 'spring-boot-sample-profile'
    3. version = '0.0.0'
    4. task('execJar', type:Jar, dependsOn: 'jar') {
    5. baseName = 'spring-boot-sample-profile'
    6. version = '0.0.0'
    7. from sourceSets.main.output
    8. }
    9. bootRepackage {