mobilefish

Untitled

Jan 26th, 2021
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. apply plugin: "war"
  2.  
  3. sourceCompatibility = 1.8
  4. targetCompatibility = 1.8
  5.  
  6. war {
  7. baseName = 'calc'
  8. version = '1.0'
  9. }
  10.  
  11. buildscript {
  12. repositories {
  13. maven {
  14. url "https://plugins.gradle.org/m2/"
  15. }
  16. }
  17. dependencies {
  18. classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.3.RELEASE"
  19. }
  20. }
  21.  
  22. apply plugin: "org.springframework.boot"
  23.  
  24. repositories {
  25. maven { url 'http://repo.spring.io/libs-release' }
  26. mavenLocal()
  27. mavenCentral()
  28. maven { url "https://oss.sonatype.org/content/groups/public/" }
  29. maven { url "http://repo.spring.io/libs-snapshot" }
  30. }
  31.  
  32. dependencies {
  33. compile([
  34. 'org.springframework.boot:spring-boot-starter-web:1.5.3.RELEASE',
  35. 'org.springframework.boot:spring-boot-starter-actuator:1.5.3.RELEASE',
  36. 'org.springframework.boot:spring-boot-legacy:1.0.0.RELEASE',
  37.  
  38. 'com.amazonaws:aws-xray-recorder-sdk-core:1.1.0'
  39. ])
  40.  
  41. testCompile([
  42. 'junit:junit-dep:4.10'
  43. ])
  44.  
  45. providedRuntime("org.springframework.boot:spring-boot-starter-tomcat")
  46. }
  47.  
Advertisement
Add Comment
Please, Sign In to add comment