Skip to content

Commit

Permalink
Fix publishing (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
raniejade authored Feb 3, 2019
1 parent 6a49bd5 commit 515f23f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spek-dsl/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: 'kotlin-multiplatform'
apply plugin: 'maven-publish'
apply from: "$rootDir/gradle/common/dependencies.gradle"
apply from: "$rootDir/gradle/common/publish.gradle"


kotlin {
Expand Down Expand Up @@ -30,6 +29,8 @@ task stubJavadocJar(type: Jar) {
classifier = 'javadoc'
}

apply from: "$rootDir/gradle/common/publish.gradle"

publishing {
kotlin.targets.all { target ->
def targetPublication = publications.findByName(target.name)
Expand Down
3 changes: 2 additions & 1 deletion spek-runtime/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: 'kotlin-multiplatform'
apply plugin: 'maven-publish'
apply from: "$rootDir/gradle/common/dependencies.gradle"
apply from: "$rootDir/gradle/common/publish.gradle"

kotlin {
jvm() {
Expand All @@ -28,6 +27,8 @@ kotlin {
}
}

apply from: "$rootDir/gradle/common/publish.gradle"

task stubJavadocJar(type: Jar) {
classifier = 'javadoc'
}
Expand Down

0 comments on commit 515f23f

Please sign in to comment.