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.

build.gradle 821B

1234567891011121314151617181920212223242526272829303132333435363738
  1. sonar {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Testing Harness"
  4. }
  5. }
  6. dependencies {
  7. // please keep list ordered
  8. api 'com.google.code.gson:gson'
  9. api 'com.googlecode.json-simple:json-simple'
  10. api 'com.sun.mail:javax.mail'
  11. api 'commons-io:commons-io'
  12. api 'junit:junit'
  13. api 'org.assertj:assertj-core'
  14. api 'org.jsoup:jsoup'
  15. api 'org.mockito:mockito-core'
  16. compileOnlyApi 'com.google.code.findbugs:jsr305'
  17. }
  18. // Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17
  19. tasks.withType(JavaCompile) {
  20. options.release = 11
  21. }
  22. artifactoryPublish.skip = false
  23. publishing {
  24. publications {
  25. mavenJava(MavenPublication) {
  26. from components.java
  27. if (release) {
  28. artifact sourcesJar
  29. artifact javadocJar
  30. }
  31. }
  32. }
  33. }