[KAPT] [CLI] KT-65251 Run Kapt CLI with -Xmx512M by default
This commit is contained in:
committed by
Space Team
parent
17955ce7d9
commit
4c8b5c699e
@@ -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:="."}
|
||||
|
||||
|
||||
@@ -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 %*
|
||||
|
||||
Reference in New Issue
Block a user