Skip to content

Commit

Permalink
gradle: Add workaround for Dokka metaspace usage
Browse files Browse the repository at this point in the history
Work around Kotlin/dokka#1405 to fix builds on
GitHub Actions.
  • Loading branch information
kdrag0n committed Aug 30, 2021
1 parent 37da66b commit a4b2151
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
kotlin.js.generate.executable.default=false
kotlin.mpp.stability.nowarn=true

# Workaround for Dokka issue: https://github.com/Kotlin/dokka/issues/1405
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m

0 comments on commit a4b2151

Please sign in to comment.