build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. buildscript {
  2. ext {
  3. springBootVersion = '1.5.7.RELEASE'
  4. dockerVersion = '0.12.0'
  5. dcokerRegistry = "10.10.100.200:5000"
  6. }
  7. repositories {
  8. mavenLocal()
  9. maven { url "https://plugins.gradle.org/m2/" }
  10. maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
  11. maven { url 'http://10.10.101.21:8081/artifactory/ext-release-local' }
  12. jcenter()
  13. mavenCentral()
  14. }
  15. dependencies {
  16. classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
  17. classpath "gradle.plugin.com.palantir.gradle.docker:gradle-docker:${dockerVersion}"
  18. }
  19. }
  20. group 'com.uas.platform.oos'
  21. version '1.0.1-SNAPSHOT'
  22. apply plugin: "com.palantir.docker"
  23. apply plugin: 'org.springframework.boot'
  24. apply from: "$rootDir/gradle/tasks.gradle"
  25. dependencies {
  26. compile project(":oos-core")
  27. compile ("com.google.guava:guava:23.0")
  28. compile "org.springframework.boot:spring-boot-starter-web"
  29. compile "org.springframework.boot:spring-boot-starter-thymeleaf"
  30. compile "org.springframework.boot:spring-boot-starter-data-jpa"
  31. compile "mysql:mysql-connector-java:6.0.6"
  32. compile "org.webjars:webjars-locator"
  33. compile "org.webjars:jquery:2.1.1"
  34. compile "org.webjars:angularjs:1.4.3"
  35. compile "org.webjars:bootstrap:3.2.0"
  36. testCompile "org.springframework.boot:spring-boot-starter-test"
  37. }
  38. jar {
  39. baseName = project.name
  40. version = ''
  41. }