Skip to content

Commit c79970a

Browse files
committed
Updated release plugin
1 parent 797259c commit c79970a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import com.vanniktech.maven.publish.*
33
plugins {
44
id 'java-library'
55
id 'jacoco'
6-
id 'com.vanniktech.maven.publish' version '0.35.0' // publish to Maven Central
6+
id 'com.vanniktech.maven.publish' version '0.36.0' // publish to Maven Central
77
id 'com.github.ben-manes.versions' version '0.53.0' // check for out-of-date dependencies (run 'dependencyUpdates' manually)
88
id 'com.github.spotbugs' version '6.4.8' // spotbugs code analysis
99
id 'org.sonarqube' version '7.2.2.6593' // sonarQube analysis
@@ -112,7 +112,7 @@ tasks.named("dependencyUpdates").configure {
112112

113113
// needed to deploy to Maven Central Portal
114114
mavenPublishing {
115-
configure(new JavaLibrary(new JavadocJar.Javadoc(), true))
115+
configure(new JavaLibrary(new JavadocJar.Javadoc(), new SourcesJar.Sources()))
116116

117117
publishToMavenCentral(true)
118118
signAllPublications()

0 commit comments

Comments
 (0)