diff --git a/build.gradle b/build.gradle index 5b0361e..648aeb1 100644 --- a/build.gradle +++ b/build.gradle @@ -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' } /* diff --git a/kbox-jvm/build.gradle b/kbox-jvm/build.gradle index f86beff..dcb5f52 100644 --- a/kbox-jvm/build.gradle +++ b/kbox-jvm/build.gradle @@ -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()