Advertisement
cinnamonandrew

build.gradle in common

May 25th, 2020
1,375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.80 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement