sonar { properties { property 'sonar.projectName', "${projectTitle} :: Markdown" } } dependencies { // please keep list ordered api 'commons-lang:commons-lang' api 'org.codehaus.sonar:sonar-channel' testImplementation 'ch.qos.logback:logback-classic' testImplementation 'junit:junit' testImplementation 'org.assertj:assertj-core' } artifactoryPublish.skip = false // Produce Java 11 bytecode while making sure the code does not use any APIs from Java 17 tasks.withType(JavaCompile) { options.release = 11 } publishing { publications { mavenJava(MavenPublication) { from components.java if (release) { artifact sourcesJar artifact javadocJar } } } }