From e873015a0b46c3a2885a034b6b0cd8eb0bbb36e6 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Mon, 31 Aug 2020 16:13:36 +0200 Subject: [PATCH] make configureJsPackage optional for rootProject --- build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index a4986cff4..c850e8d6f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -453,6 +453,8 @@ fun NamedDomainObjectContainerScope.registerPlatfor registerPlatform(platform) { } fun Project.configureJsPackage(packageJsonTask: String = "jsPackageJson", compileTask: String = "jsMainClasses") { + if (this == rootProject) return + apply() configure {