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 723B

1234567891011121314151617181920212223242526272829303132333435
  1. sonar {
  2. properties {
  3. property 'sonar.projectName', "${projectTitle} :: Markdown"
  4. }
  5. }
  6. dependencies {
  7. // please keep list ordered
  8. api 'commons-lang:commons-lang'
  9. api 'org.codehaus.sonar:sonar-channel'
  10. testImplementation 'ch.qos.logback:logback-classic'
  11. testImplementation 'junit:junit'
  12. testImplementation 'org.assertj:assertj-core'
  13. }
  14. artifactoryPublish.skip = false
  15. // Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17
  16. tasks.withType(JavaCompile) {
  17. options.release = 11
  18. }
  19. publishing {
  20. publications {
  21. mavenJava(MavenPublication) {
  22. from components.java
  23. if (release) {
  24. artifact sourcesJar
  25. artifact javadocJar
  26. }
  27. }
  28. }
  29. }