build.gradle 462 B

123456789101112131415161718192021222324252627
  1. plugins {
  2. id 'java'
  3. }
  4. group 'com.ljsd'
  5. version '1.0.0-SNAPSHOT'
  6. sourceCompatibility = 1.8
  7. repositories {
  8. mavenLocal()
  9. mavenCentral()
  10. }
  11. dependencies {
  12. testCompile group: 'junit', name: 'junit', version: '4.12'
  13. compile("org.springframework.boot:spring-boot-starter-data-mongodb:1.5.9.RELEASE")
  14. }
  15. jar {
  16. baseName = 'common'
  17. version = '1.0.0'
  18. }
  19. [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'