Skip to content

Commit

Permalink
fix: 尝试修复无法发布快照的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Sep 25, 2023
1 parent 1b3beb3 commit 8b1f3cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on: # push
paths:
- '**src/**/kotlin/**.kt'
- '**src/**/java/**.java'
- '**/build.gradle.kts'
- 'build.gradle.kts'
- 'buildSrc'

env:
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ kotlin.mpp.stability.nowarn=true
kotlin.native.ignoreDisabledTargets=true
#kotlin.daemon.jvmargs=-Xmx2g -Dfile.encoding=UTF-8

# see https://github.com/Kotlin/dokka/issues/3153
org.jetbrains.dokka.classpath.useNativeDistributionAccessor=true

#org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx8G -Xms2G -XX:MaxMetaspaceSize=1G -Dfile.encoding=UTF-8
#org.gradle.workers.max=4
Expand Down

0 comments on commit 8b1f3cb

Please sign in to comment.