build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. plugins {
  2. id 'org.springframework.boot' version '2.2.6.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.9.RELEASE'
  4. id 'java'
  5. id 'war'
  6. }
  7. group = 'com.dbs'
  8. version = '0.0.1-SNAPSHOT'
  9. sourceCompatibility = '1.8'
  10. repositories {
  11. mavenCentral()
  12. //maven { url "https://code.lds.org/nexus/content/groups/main-repo"} /* oracle ref url*/
  13. // maven { url "http://maven.icm.edu.pl/artifactory/repo/"} /* oracle ref url*/
  14. }
  15. dependencies {
  16. implementation fileTree(dir: 'lib', include: ['*.jar'])
  17. implementation 'org.springframework.boot:spring-boot-starter-web'
  18. providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
  19. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  20. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  21. }
  22. implementation("org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.1")
  23. implementation("org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16")
  24. //implementation("com.oracle:ojdbc6:11.2.0.3")
  25. // SWAGGER
  26. implementation 'io.springfox:springfox-swagger2:2.6.1'
  27. implementation 'io.springfox:springfox-swagger-ui:2.6.1'
  28. implementation 'io.springfox:springfox-swagger-ui:2.6.1'
  29. }
  30. test {
  31. useJUnitPlatform()
  32. }