You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
877 B

4 years ago
4 years ago
4 years ago
4 years ago
  1. plugins {
  2. id 'java'
  3. }
  4. group 'fh.fd.ci'
  5. version '1.0-SNAPSHOT'
  6. repositories {
  7. mavenCentral()
  8. jcenter()
  9. }
  10. subprojects {
  11. apply plugin: 'java'
  12. compileJava {options.encoding = "UTF-8"}
  13. compileTestJava {options.encoding = "UTF-8"}
  14. sourceCompatibility = JavaVersion.VERSION_11
  15. repositories {
  16. mavenCentral()
  17. jcenter()
  18. }
  19. dependencies {
  20. compileOnly 'org.projectlombok:lombok:1.18.16'
  21. annotationProcessor 'org.projectlombok:lombok:1.18.16'
  22. testImplementation('org.junit.jupiter:junit-jupiter:5.7.0')
  23. testImplementation('org.mockito:mockito-core:3.7.0')
  24. testImplementation('org.hamcrest:hamcrest-core:2.2')
  25. testCompileOnly 'org.projectlombok:lombok:1.18.16'
  26. testAnnotationProcessor 'org.projectlombok:lombok:1.18.16'
  27. }
  28. test {
  29. useJUnitPlatform()
  30. }
  31. }