From 8b1f3cb26c6b086d750ec1d6b04e45aa177ae031 Mon Sep 17 00:00:00 2001 From: ForteScarlet Date: Mon, 25 Sep 2023 22:32:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=8F=91=E5=B8=83=E5=BF=AB=E7=85=A7=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish-snapshot.yml | 2 ++ gradle.properties | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/publish-snapshot.yml b/.github/workflows/publish-snapshot.yml index c7c611807..24804dc3c 100644 --- a/.github/workflows/publish-snapshot.yml +++ b/.github/workflows/publish-snapshot.yml @@ -10,6 +10,8 @@ on: # push paths: - '**src/**/kotlin/**.kt' - '**src/**/java/**.java' + - '**/build.gradle.kts' + - 'build.gradle.kts' - 'buildSrc' env: diff --git a/gradle.properties b/gradle.properties index c64ac2e4c..84f76675e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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