File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 11plugins {
2- id " org.sonarqube" version " 2.8"
2+ id ' java-library'
3+ id ' jacoco'
4+ id ' maven-publish'
5+ id ' signing'
36 id ' idea'
7+ id " org.sonarqube" version " 2.8"
48 id " org.jetbrains.gradle.plugin.idea-ext" version " 0.7"
59}
610
7- apply plugin : ' java-library'
8- apply plugin : ' jacoco'
9- apply plugin : ' maven-publish'
10- apply plugin : ' signing'
11- apply plugin : ' idea'
12-
1311group = ' net.joshka'
1412version = ' 5.5.1-r0'
1513ext. isReleaseVersion = ! version. endsWith(" SNAPSHOT" )
@@ -44,14 +42,9 @@ test {
4442 useJUnitPlatform()
4543}
4644
47- task sourcesJar (type : Jar ) {
48- classifier " sources"
49- from sourceSets. main. allJava
50- }
51-
52- task javadocJar (type : Jar , dependsOn : javadoc) {
53- classifier " javadoc"
54- from javadoc. destinationDir
45+ java {
46+ withJavadocJar()
47+ withSourcesJar()
5548}
5649
5750javadoc {
You can’t perform that action at this time.
0 commit comments