Skip to content

Commit

Permalink
Increase VM metaspace size for Dokka
Browse files Browse the repository at this point in the history
  • Loading branch information
MiSikora committed Oct 17, 2020
1 parent d163e34 commit d2fb480
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions library/build.gradle.kts
Expand Up @@ -16,7 +16,6 @@ buildscript {
mavenCentral()
gradlePluginPortal()
google()
mavenLocal() // Used for sample snapshot testing.
}

dependencies {
Expand All @@ -27,8 +26,6 @@ buildscript {
classpath(Libs.Detekt.GradlePlugin)
classpath(Libs.GradleVersions.GradlePlugin)
classpath(Libs.Wire.GradlePlugin)
@Suppress("GradleDynamicVersion") // We want the latest version as we control it.
classpath("io.mehow.laboratory:laboratory-gradle-plugin:+")
}
}

Expand All @@ -37,7 +34,6 @@ allprojects {
mavenCentral()
google()
jcenter()
mavenLocal() // Used for sample snapshot testing.
}

group = properties["GROUP"]!!
Expand Down
5 changes: 5 additions & 0 deletions library/gradle.properties
Expand Up @@ -16,3 +16,8 @@ POM_DEVELOPER_ID=michalsikora90
POM_DEVELOPER_NAME=Michal Sikora

android.useAndroidX=true

# Increase the build VMs heap size. Default is 512m.
# Increase metaspace for Dokka https://github.com/Kotlin/dokka/issues/1405
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m
org.gradle.parallel=true

0 comments on commit d2fb480

Please sign in to comment.