Skip to content

Commit b6b04e3

Browse files
committed
New Kotlin incremental compilation.
1 parent 453dba0 commit b6b04e3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
env:
1616
CI: true
17-
GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError"
17+
GRADLE_OPTS: -Dkotlin.incremental.useClasspathSnapshot=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError"
1818
TERM: dumb
1919

2020
jobs:

Diff for: .github/workflows/deploy-website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ jobs:
2727
env:
2828
CI: true
2929
JAVA_TOOL_OPTIONS: -Xmx4g -XX:+UseParallelGC
30-
GRADLE_OPTS: -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError"
30+
GRADLE_OPTS: -Dkotlin.incremental.useClasspathSnapshot=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError"
3131
DEPLOY_TOKEN: ${{ secrets.GH_DEPLOY_TOKEN }}

Diff for: gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ org.gradle.configureondemand=true
1818
org.gradle.caching=true
1919

2020
# Enable Kotlin incremental compilation
21-
kotlin.incremental=true
21+
kotlin.incremental.useClasspathSnapshot=true
2222

2323
# Kotlin code style
2424
kotlin.code.style=official

0 commit comments

Comments
 (0)