Skip to content

Commit

Permalink
Work around kapt annoyingness
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Sep 25, 2021
1 parent d0171e7 commit 0bc41b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gradle.properties
Expand Up @@ -39,6 +39,9 @@ kotlin.daemon.jvmargs=-Dfile.encoding=UTF-8 \
--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED

# Kapt doesn't read the above jvm args when workers are used
# https://youtrack.jetbrains.com/issue/KT-48402
kapt.use.worker.api=false
kapt.include.compile.classpath=false

GROUP=com.squareup.moshi
Expand Down

0 comments on commit 0bc41b2

Please sign in to comment.