From 1c7d72fcf283f27441d37bc5a996376ecbc735ac Mon Sep 17 00:00:00 2001 From: David Chang Date: Thu, 18 Nov 2021 08:07:51 -0800 Subject: [PATCH] Increase memory for dokka (#343) Same fix as https://github.com/dropbox/kaiken/pull/70 --- gradle.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gradle.properties b/gradle.properties index 81614e3..ab87cea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,3 +2,6 @@ android.useAndroidX=true org.gradle.caching=true org.gradle.configureondemand=true + +# https://github.com/Kotlin/dokka/issues/1405 +org.gradle.jvmargs=-XX:MaxMetaspaceSize=2G