build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id "java"
  3. id "idea"
  4. id "maven"
  5. id "io.spring.dependency-management" version "1.0.7.RELEASE"
  6. id "org.springframework.boot" version "2.1.4.RELEASE"
  7. }
  8. group 'com.usoftchina.uas'
  9. version '1.0.0-SNAPSHOT'
  10. sourceCompatibility = 1.8
  11. targetCompatibility = 1.8
  12. [compileJava,compileTestJava,javadoc]*.options*.encoding = 'UTF-8'
  13. ext {
  14. springBootVersion = '2.1.4.RELEASE'
  15. }
  16. repositories {
  17. mavenLocal()
  18. mavenCentral()
  19. maven { url "http://repo.spring.io/libs-milestone" }
  20. maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
  21. maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
  22. maven { url "http://maven.ubtob.com/artifactory/libs-snapshot-local" }
  23. }
  24. dependencyManagement {
  25. imports {
  26. mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
  27. }
  28. }
  29. dependencies {
  30. compile 'org.springframework.boot:spring-boot-starter-web'
  31. compile 'org.springframework.boot:spring-boot-starter-jdbc'
  32. compile 'com.usoftchina.uu:open-sdk:1.0.0-SNAPSHOT'
  33. compile 'com.oracle:ojdbc6:11.2.0'
  34. testCompile 'org.springframework.boot:spring-boot-starter-test'
  35. }