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.

38 lines
876 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. test {
  20. useJUnitPlatform()
  21. }
  22. dependencies {
  23. compileOnly 'org.projectlombok:lombok:1.18.16'
  24. annotationProcessor 'org.projectlombok:lombok:1.18.16'
  25. testCompileOnly 'org.projectlombok:lombok:1.18.16'
  26. testAnnotationProcessor 'org.projectlombok:lombok:1.18.16'
  27. testImplementation('org.junit.jupiter:junit-jupiter:5.7.0')
  28. testImplementation('org.mockito:mockito-core:3.7.0')
  29. testImplementation('org.hamcrest:hamcrest-core:2.2')
  30. }
  31. }