SHARE
TWEET

build.gradle in common

cinnamonandrew May 25th, 2020 (edited) 1,134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plugins {
  2.     id 'java-library'
  3.     id 'org.springframework.boot' version '2.2.6.RELEASE'
  4.     id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  5.  
  6. }
  7.  
  8. group = 'com.mpp'
  9. version '1.0.0'
  10.  
  11. sourceCompatibility = JavaVersion.VERSION_11
  12. targetCompatibility = JavaVersion.VERSION_11
  13.  
  14.  
  15.  
  16. repositories {
  17.     mavenCentral()
  18. }
  19.  
  20. configurations {
  21.     compileOnly {
  22.         extendsFrom annotationProcessor
  23.     }
  24. }
  25.  
  26. dependencies {
  27.     testCompile group: 'junit', name: 'junit', version: '4.12'
  28.  
  29. //    implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  30.     compile group: 'org.springframework', name: 'spring-context', version: '5.2.5.RELEASE'
  31.     compileOnly 'org.projectlombok:lombok'
  32.     annotationProcessor 'org.projectlombok:lombok'
  33. }
  34.  
  35. test {
  36.     useJUnitPlatform()
  37. }
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