Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 0.98 KB | None | 0 0
  1. buildscript {
  2.     ext {
  3.         springBootVersion = '1.5.9.RELEASE'
  4.     }
  5.     repositories {
  6.         mavenCentral()
  7.     }
  8.     dependencies {
  9.         classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  10.     }
  11. }
  12.  
  13. apply plugin: 'java'
  14. apply plugin: 'idea'
  15. apply plugin: 'org.springframework.boot'
  16. apply plugin: 'war'
  17.  
  18. group = 'ru.ifmo'
  19. version = '1.0.0'
  20. sourceCompatibility = 1.8
  21.  
  22. repositories {
  23.     mavenCentral()
  24. }
  25.  
  26. jar {
  27.     baseName = 'pip-lab4'
  28.     version =  '1.0.0'
  29. }
  30.  
  31. war {
  32.     baseName = 'pip-lab4'
  33.     version =  '1.0.0'
  34. }
  35.  
  36. dependencies {
  37.     compile 'com.auth0:java-jwt:3.3.0'
  38.     compile 'org.springframework.boot:spring-boot-starter-data-jpa'
  39.     compile 'org.springframework.boot:spring-boot-starter-web'
  40.     runtime 'org.postgresql:postgresql'
  41.     testCompile 'org.springframework.boot:spring-boot-starter-test'
  42.     testCompile 'org.springframework.restdocs:spring-restdocs-mockmvc'
  43.     testCompile 'junit:junit'
  44.     providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement