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' id 'java' id 'com.github.spotbugs' version "3.0.0" id 'checkstyle' } spotbugs{ ignoreFailures = true effort = "max" reportLevel = "high" toolVersion = '4.0.0-RC1' } tasks.withType(SpotBugsTask) { reports { xml.enabled = false html.enabled = true } } checkstyle { toolVersion = "8.28" configFile = file("${rootDir}/config/checkstyle/checkstyle.xml") ignoreFailures = true } group = 'mops' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { developmentOnly runtimeClasspath { extendsFrom developmentOnly } compileOnly { extendsFrom annotationProcessor } } repositories { maven { url = 'https://s3.cs.hhu.de/public/mops/' metadataSources { artifact() } } mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-data-jdbc' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' 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.1' compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.7.0' compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.7.0' compileOnly 'org.projectlombok:lombok' developmentOnly 'org.springframework.boot:spring-boot-devtools' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation('org.springframework.boot:spring-boot-starter-test') { 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() }