Skip to content

Commit

Permalink
remove emptySourcesJar
Browse files Browse the repository at this point in the history
  • Loading branch information
benasher44 committed Apr 8, 2021
1 parent c7716fb commit b1bce2a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ def getRepositoryPassword() {
return System.getenv('SONATYPE_PASSWORD') ?: ''
}

task emptySourcesJar(type: Jar) {
classifier = 'sources'
}

task javadocsJar(type: Jar, dependsOn: dokka) {
classifier = 'javadoc'
from dokka.outputDirectory
Expand Down Expand Up @@ -126,13 +122,6 @@ publishing {
}
}

afterEvaluate {
publications.getByName('kotlinMultiplatform') {
// Source jars are only created for platforms, not the common artifact.
artifact emptySourcesJar
}
}

repositories {
maven {
url isReleaseBuild() ? getReleaseRepositoryUrl() : getSnapshotRepositoryUrl()
Expand Down

0 comments on commit b1bce2a

Please sign in to comment.