add swagger-API and example controller
This commit is contained in:
15
build.gradle
15
build.gradle
@ -1,3 +1,5 @@
|
||||
import com.github.spotbugs.SpotBugsTask
|
||||
|
||||
plugins {
|
||||
id 'org.springframework.boot' version '2.2.5.RELEASE'
|
||||
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
||||
@ -11,7 +13,12 @@ spotbugs{
|
||||
reportLevel = "high"
|
||||
toolVersion = '4.0.0-RC1'
|
||||
}
|
||||
<<<<<<< Updated upstream
|
||||
tasks.withType(com.github.spotbugs.SpotBugsTask) {
|
||||
=======
|
||||
|
||||
tasks.withType(SpotBugsTask) {
|
||||
>>>>>>> Stashed changes
|
||||
reports {
|
||||
html {
|
||||
enabled = true
|
||||
@ -52,8 +59,14 @@ dependencies {
|
||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
<<<<<<< Updated upstream
|
||||
implementation 'org.keycloak:keycloak-spring-boot-starter:9.0.0'
|
||||
implementation 'org.keycloak.bom:keycloak-adapter-bom:3.3.0.Final'
|
||||
=======
|
||||
implementation 'mops:styleguide:2.0.0'
|
||||
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.7.0'
|
||||
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.7.0'
|
||||
>>>>>>> Stashed changes
|
||||
compileOnly 'org.projectlombok:lombok'
|
||||
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
@ -62,8 +75,10 @@ dependencies {
|
||||
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
||||
}
|
||||
testImplementation 'org.springframework.security:spring-security-test'
|
||||
compile('org.springframework.boot:spring-boot-starter-web')
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user