build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. plugins {
  2. id 'org.springframework.boot' version '2.2.7.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  4. id 'java'
  5. }
  6. group = 'de.spaceStudio'
  7. version = '0.0.1-SNAPSHOT'
  8. repositories {
  9. mavenCentral()
  10. mavenLocal()
  11. maven { url 'https://repo.spring.io/milestone' }
  12. }
  13. dependencies {
  14. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  15. implementation 'org.springframework.boot:spring-boot-starter-web'
  16. implementation 'io.springfox:springfox-swagger2:2.9.2'
  17. implementation 'io.springfox:springfox-swagger-ui:2.9.2'
  18. compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
  19. // https://mvnrepository.com/artifact/junit/junit
  20. testCompile group: 'junit', name: 'junit', version: '4.13'
  21. // https://mvnrepository.com/artifact/org.mockito/mockito-all
  22. testCompile group: 'org.mockito', name: 'mockito-all', version: '2.0.2-beta'
  23. runtimeOnly 'com.h2database:h2'
  24. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  25. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  26. }
  27. }
  28. test {
  29. useJUnitPlatform()
  30. }
  31. jar {
  32. enabled = true
  33. }