SHARE
TWEET

Untitled

a guest Aug 21st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import com.github.spotbugs.SpotBugsTask
  2.  
  3. buildscript {
  4.     repositories {
  5.         mavenCentral()
  6.     }
  7.     dependencies {
  8.         classpath("org.springframework.boot:spring-boot-gradle-plugin:2.1.6.RELEASE")
  9.     }
  10. }
  11.  
  12. plugins {
  13.     id 'java'
  14.     id 'application'
  15.     id "com.github.spotbugs" version "2.0.0"
  16.  
  17. }
  18.  
  19. tasks.withType(SpotBugsTask) {
  20.     reports {
  21.         xml.enabled = false
  22.         html.enabled = true
  23.     }
  24. }
  25.  
  26. apply plugin: 'org.springframework.boot'
  27. apply plugin: 'io.spring.dependency-management'
  28.  
  29. group 'Lesson'
  30. version '1.0-SNAPSHOT'
  31.  
  32. sourceCompatibility = 1.8
  33. targetCompatibility = 1.8
  34.  
  35. repositories {
  36.     mavenCentral()
  37. }
  38.  
  39. dependencies {
  40.     testCompile group: 'junit', name: 'junit', version: '4.12'
  41.     compile("org.springframework.boot:spring-boot-starter-web")
  42.     testCompile('org.springframework.boot:spring-boot-starter-test')
  43.  
  44.     compile("org.springframework.boot:spring-boot-starter-thymeleaf")
  45.  
  46.     compileOnly 'org.projectlombok:lombok:1.18.8'
  47.     annotationProcessor 'org.projectlombok:lombok:1.18.8'
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top