Guest User

Untitled

a guest
Dec 19th, 2017
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.01 KB | None | 0 0
  1. buildscript {
  2. ext {
  3. springBootVersion = '1.5.9.RELEASE'
  4. }
  5. repositories {
  6. jcenter()
  7. mavenCentral()
  8. maven { url "https://repo.spring.io/snapshot" }
  9. maven { url "https://repo.spring.io/milestone" }
  10. maven { url "https://plugins.gradle.org" }
  11. }
  12. dependencies {
  13. classpath("org.springframework.boot:spring-boot-gradle-
  14. plugin:${springBootVersion}")
  15. classpath("org.jfrog.buildinfo:build-info-extractor-gradle:4.5.4")
  16. classpath("gradle.plugin.de.gliderpilot.gradle.semantic-
  17. release:gradle-semantic-release-plugin:1.3.1")
  18. }
  19. }
  20. dependencies {
  21. compile('org.springframework.boot:spring-boot-starter-jdbc')
  22. compile('org.springframework.boot:spring-boot-starter-mail')
  23. compile('org.springframework.boot:spring-boot-starter-thymeleaf')
  24. {
  25. exclude module: 'spring-boot-starter-tomcat'
  26. }
  27. runtime files ('/libs/ojdbc8.jar')
  28. testCompile('org.springframework.boot:spring-boot-starter-test')
  29. }
  30. plugins {
  31. id "org.sonarqube" version "2.5"
  32. id "com.gorylenko.gradle-git-properties" version "1.4.17"
  33. id "de.gliderpilot.semantic-release" version "1.3.1"
  34. }
  35. apply plugin: 'java'
  36. apply plugin: 'jacoco'
  37. apply plugin: 'org.springframework.boot'
  38. apply plugin: 'io.spring.dependency-management'
  39. apply plugin: 'idea'
  40. apply plugin: 'com.jfrog.artifactory'
  41. apply plugin: 'maven-publish'
  42. sourceCompatibility = 1.8
  43. group = 'com.usps.informed-delivery'
  44. dependencies {
  45. compile('org.springframework.boot:spring-boot-starter-activemq')
  46. compile('org.springframework.boot:spring-boot-actuator-docs')
  47. compile('org.springframework.boot:spring-boot-starter-aop')
  48. compile('org.springframework.boot:spring-boot-starter-batch')
  49. compile('org.springframework.boot:spring-boot-starter-cache')
  50. compile('org.springframework.boot:spring-boot-starter-data-cassandra')
  51. compile('org.springframework.boot:spring-boot-starter-data-jpa')
  52. compile('org.springframework.boot:spring-boot-starter-data-redis')
  53. compile('org.springframework.boot:spring-boot-starter-integration')
  54. compile('org.springframework.batch:spring-batch-integration')
  55. compile('org.springframework.integration:spring-integration-xml')
  56. compile('org.springframework.integration:spring-integration-mail')
  57. compile('org.springframework.integration:spring-integration-test')
  58. compile('org.slf4j:slf4j-api')
  59. compile('org.springframework.integration:spring-integration-java-dsl')
  60. compile("org.springframework:spring-oxm")
  61. compile("joda-time:joda-time")
  62. compile("com.fasterxml.jackson.dataformat:jackson-dataformat-xml")
  63. compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
  64. compile('org.liquibase:liquibase-core')
  65. compile('libs/ojdbc8.jar')
  66. runtime('org.springframework.boot:spring-boot-devtools')
  67. runtime('com.h2database:h2')
  68. testCompile('org.springframework.boot:spring-boot-starter-test')
  69. testCompile('org.springframework.batch:spring-batch-test')
  70. testCompile('org.springframework.integration:spring-integration-test')
  71. }
  72. publishing {
  73. publications {
  74. mavenJava(MavenPublication) {
  75. from components.java
  76. }
  77. }
  78. }
  79. artifactory {
  80. contextUrl = 'http:whatever'
  81. publish {
  82. repository {
  83. if (version.toString().endsWith("-SNAPSHOT")) {
  84. repoKey = 'snapshots'
  85. } else {
  86. repoKey = 'releases'
  87. }
  88. username = ""
  89. password = ""
  90. }
  91. defaults {
  92. publications('mavenJava')
  93. publishArtifacts = true
  94. properties = ['qa.level': 'basic', 'dev.team': 'core']
  95. publishPom = true
  96. }
  97. }
  98. resolve {
  99. repoKey = 'jcenter'
  100. username = ""
  101. password = ""
  102. }
  103. }
  104. sonarqube {
  105. properties {
  106. property "sonar.sourceEncoding", "UTF-8"
  107. property "sonar.projectKey", "readers-digest-generator"
  108. property "sonar.projectName", "Readers Digest Generator"
  109. }
  110. }
Add Comment
Please, Sign In to add comment