diff --git a/build.gradle.kts b/build.gradle.kts index b0797d397..1b2d9d7c0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,7 +16,7 @@ allprojects { subprojects { if (name.startsWith("kmath")) apply() - afterEvaluate { + plugins.withId("org.jetbrains.dokka"){ tasks.withType { dependsOn(tasks["assemble"]) diff --git a/gradle.properties b/gradle.properties index 6678f24a8..130d294a2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,5 +10,6 @@ kotlin.jupyter.add.scanner=false org.gradle.configureondemand=true org.gradle.parallel=true +org.gradle.jvmargs=-XX:MaxMetaspaceSize=1G toolsVersion=0.10.9-kotlin-1.6.10