pkg(kotlin-1.4.31): Added kotlin 1.4.31
This commit is contained in:
parent
56adb6123c
commit
a5ba0f5ee6
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source ../../java/15.0.2/build.sh
|
||||||
|
|
||||||
|
curl -L "https://github.com/JetBrains/kotlin/releases/download/v1.4.31/kotlin-compiler-1.4.31.zip" -o kotlin.zip
|
||||||
|
unzip kotlin.zip
|
||||||
|
rm kotlin.zip
|
||||||
|
|
||||||
|
cp -r kotlinc/* .
|
||||||
|
rm -rf kotlinc
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put instructions to compile source code, remove this file if the language does not require this stage
|
||||||
|
kotlinc $* -include-runtime -d code.jar
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put 'export' statements here for environment variables
|
||||||
|
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"language": "kotlin",
|
||||||
|
"version": "1.4.31",
|
||||||
|
"aliases": ["kt"],
|
||||||
|
"author": "Thomas Hobson <git@hexf.me>"
|
||||||
|
}
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Put instructions to run the runtime
|
||||||
|
java -jar code.jar
|
|
@ -0,0 +1,3 @@
|
||||||
|
fun main() {
|
||||||
|
println("OK")
|
||||||
|
}
|
Loading…
Reference in New Issue