Standardize Build
The build now uses spring build conventions to simplify the build Fixes gh-4284
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
apply from: BOOT_SAMPLE_GRADLE
|
||||
|
||||
springBoot {
|
||||
mainClass = 'org.springframework.security.samples.HelloWorldApplication'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.springframework.boot:spring-boot-starter-web",
|
||||
"org.springframework.boot:spring-boot-starter-thymeleaf",
|
||||
"org.thymeleaf.extras:thymeleaf-extras-springsecurity4:2.1.2.RELEASE",
|
||||
project(":spring-security-config"),
|
||||
project(":spring-security-web")
|
||||
|
||||
testCompile "org.springframework.boot:spring-boot-starter-test",
|
||||
project(":spring-security-test")
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
|
||||
dependencies {
|
||||
compile project(':spring-security-config')
|
||||
compile project(':spring-security-web')
|
||||
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||||
compile 'org.springframework.boot:spring-boot-starter-web'
|
||||
compile 'org.thymeleaf.extras:thymeleaf-extras-springsecurity4'
|
||||
|
||||
testCompile project(':spring-security-test')
|
||||
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
apply from: BOOT_SAMPLE_GRADLE
|
||||
|
||||
springBoot {
|
||||
mainClass = 'org.springframework.security.samples.InsecureApplication'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile "org.springframework.boot:spring-boot-starter-web",
|
||||
"org.springframework.boot:spring-boot-starter-thymeleaf"
|
||||
|
||||
testCompile "org.springframework.boot:spring-boot-starter-test"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
|
||||
dependencies {
|
||||
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||||
compile 'org.springframework.boot:spring-boot-starter-web'
|
||||
|
||||
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
||||
}
|
||||
Reference in New Issue
Block a user