[KAPT] [CLI] KT-65251 Run Kapt CLI with -Xmx512M by default

This commit is contained in:
strangepleasures
2024-01-24 14:28:05 +01:00
committed by Space Team
parent 17955ce7d9
commit 4c8b5c699e
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -7,6 +7,8 @@ export KOTLIN_TOOL=kotlin-annotation-processing-cli.jar
export KOTLIN_COMPILER=org.jetbrains.kotlin.kapt.cli.KaptCli
[ -n "$JAVA_OPTS" ] || export JAVA_OPTS="-Xmx512M -Xms128M"
DIR="${BASH_SOURCE[0]%/*}"
: ${DIR:="."}
+1
View File
@@ -6,5 +6,6 @@ rem Use of this source code is governed by the Apache 2.0 license that can be fo
setlocal
set _KOTLIN_COMPILER=org.jetbrains.kotlin.kapt.cli.KaptCli
set _KOTLIN_TOOL=kotlin-annotation-processing-cli.jar
if "%JAVA_OPTS%"=="" set JAVA_OPTS=-Xmx512M -Xms128M
call %~dps0kotlinc.bat %*