Skip to content

Commit

Permalink
do not use afterEvaluate, somehow there is a bug in bintrayPlugin
Browse files Browse the repository at this point in the history
It fails with :
Repository name, package name or version name are null for project

for the jvm module
  • Loading branch information
robstoll committed Jul 6, 2020
1 parent 3929acf commit 3b1313d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 9 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,17 @@ configureJsProjects()
configureJvmProjects()
configureAndroidProjects()

configure(getJvmProjects()) {
apply plugin: 'ch.tutteli.kotlin.module.info'

apply plugin: 'ch.tutteli.spek'
spek.version = spek_version
apply plugin: 'ch.tutteli.dokka'
}

subprojects { subproject ->
repositories { jcenter() }
subproject.afterEvaluate {
subproject.apply plugin: 'ch.tutteli.publish'
}
apply plugin: 'ch.tutteli.publish'
}

/*
Expand Down
6 changes: 0 additions & 6 deletions kbox-jvm/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
description = "A utility library for Kotlin for the JVM platform"

apply plugin: 'ch.tutteli.kotlin.module.info'
apply plugin: 'ch.tutteli.dokka'

apply plugin: 'ch.tutteli.spek'
spek.version = spek_version

dependencies {
testImplementation "ch.tutteli.atrium:atrium-fluent-en_GB:$atrium_version", excluding {
kotlin()
Expand Down

0 comments on commit 3b1313d

Please sign in to comment.