upgrade to Kotlin 1.3.30 and increase memory settings for command line build script

This commit is contained in:
Irmen de Jong 2019-04-11 19:58:28 +02:00
parent 51454c71c7
commit 4434d31a3b
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ mkdir -p ${PARSER_CLASSES}
javac -d ${PARSER_CLASSES} -cp ${ANTLR_RUNTIME} ./parser/src/prog8/parser/prog8Lexer.java ./parser/src/prog8/parser/prog8Parser.java
echo "Compiling the compiler itself..."
kotlinc -verbose -include-runtime -d ${COMPILER_JAR} -cp ${ANTLR_RUNTIME}:${PARSER_CLASSES} ./compiler/src/prog8
JAVA_OPTS="-Xmx3G -Xms300M" kotlinc -verbose -include-runtime -d ${COMPILER_JAR} -jvm-target 1.8 -cp ${ANTLR_RUNTIME}:${PARSER_CLASSES} ./compiler/src/prog8
echo "Finalizing the compiler jar file..."
# add the antlr parser classes

View File

@ -1,5 +1,5 @@
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.21"
id "org.jetbrains.kotlin.jvm" version "1.3.30"
id 'application'
}
@ -8,7 +8,7 @@ repositories {
jcenter()
}
def kotlinVersion = '1.3.21'
def kotlinVersion = '1.3.30'
dependencies {
implementation project(':parser')