JAVA-117 Standardize spring-boot-modules/spring-boot-gradle
This commit is contained in:
parent
2d0f2c171b
commit
641956f87d
|
@ -21,7 +21,7 @@ apply plugin: 'io.spring.dependency-management'
|
||||||
//add tasks thinJar and thinResolve for thin JAR deployments
|
//add tasks thinJar and thinResolve for thin JAR deployments
|
||||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||||
|
|
||||||
group = 'org.baeldung'
|
group = 'com.baeldung'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
|
||||||
|
@ -35,16 +35,16 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
springBoot {
|
springBoot {
|
||||||
mainClassName = 'org.baeldung.DemoApplication'
|
mainClassName = 'com.baeldung.DemoApplication'
|
||||||
}
|
}
|
||||||
|
|
||||||
bootJar {
|
bootJar {
|
||||||
// This is overridden by the mainClassName in springBoot{} and added here for reference purposes.
|
// This is overridden by the mainClassName in springBoot{} and added here for reference purposes.
|
||||||
mainClassName = 'org.baeldung.DemoApplication'
|
mainClassName = 'com.baeldung.DemoApplication'
|
||||||
|
|
||||||
// This block serves the same purpose as the above thus commented out. Added here for reference purposes
|
// This block serves the same purpose as the above thus commented out. Added here for reference purposes
|
||||||
// manifest {
|
// manifest {
|
||||||
// attributes 'Start-Class': 'org.baeldung.DemoApplication'
|
// attributes 'Start-Class': 'com.baeldung.DemoApplication'
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung;
|
package com.baeldung;
|
||||||
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@ -1,4 +1,4 @@
|
||||||
package org.baeldung;
|
package com.baeldung;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
Loading…
Reference in New Issue