1
0
mirror of synced 2026-08-03 16:56:56 +00:00

Standardize Build

The build now uses spring build conventions to simplify the build

Fixes gh-4284
This commit is contained in:
Rob Winch
2017-03-28 15:45:30 -05:00
parent 5a65da400d
commit dd6fc48dd8
119 changed files with 1110 additions and 2227 deletions
-16
View File
@@ -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'
}
-12
View File
@@ -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'
}