Skip to content

Commit a712404

Browse files
committed
Increased version to 2.4.5
1 parent ca86689 commit a712404

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

docs/notes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11

22

3+
## KEEP Kotlin Scripting support
4+
5+
From
6+
7+
https://blog.jetbrains.com/kotlin/2018/06/kotlin-1-2-50-is-out/
8+
9+
* it is now possible to create a jar defining a script and if that jar is added to the compilation classpath, the scripts of this type will be automatically supported by the compiler and IDEA plugin
10+
* it is now possible to pass typed external variables to the script compilation, so they will be accessible as if they are global variables defined outside of the script
11+
* the structure of the scripting support is now much simpler and provided helpers allow to implement and embed a custom scripting host much easier than before
12+
13+
14+
315
## macos setup
416

517
change java version

misc/kscript_release.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export KSCRIPT_HOME="/Users/brandl/projects/kotlin/kscript";
88
export PATH=${KSCRIPT_HOME}:${PATH}
99
export PATH=~/go/bin/:$PATH
1010

11-
KSCRIPT_ARCHIVE=~/Dropbox/archive/kscript_versions/
11+
KSCRIPT_ARCHIVE=~/archive/kscript_versions/
1212

1313

1414
kscript_version=$(grep 'val KSCRIPT_VERSION' ${KSCRIPT_HOME}/src/main/kotlin/kscript/app/Kscript.kt | cut -f2 -d'=' | tr -d ' "')
@@ -57,7 +57,7 @@ open ${KSCRIPT_ARCHIVE}
5757
## create tag on github
5858
#github-release --help
5959

60-
source /Users/brandl/Dropbox/archive/gh_token.sh
60+
source ~/archive/gh_token.sh
6161
export GITHUB_TOKEN=${GH_TOKEN}
6262
#echo $GITHUB_TOKEN
6363

@@ -126,7 +126,7 @@ git push origin releases
126126
# Summary: sequence of calls is as above, first **releasing** , then making it **default** , and finally **announce** it to the world.
127127

128128
## from .bash_profile
129-
source /Users/brandl/Dropbox/archive/kscript_sdkman_json.sh
129+
source ~/archive/kscript_sdkman_json.sh
130130
echo ${SDKMAN_CONSUMER_KEY} ${SDKMAN_CONSUMER_TOKEN} ${kscript_version}
131131
#echo ${SDKMAN_CONSUMER_KEY} | cut -c-5
132132
#echo ${SDKMAN_CONSUMER_TOKEN} | cut -c-5

src/main/kotlin/kscript/app/Kscript.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import kotlin.system.exitProcess
2020
* @author Holger Brandl
2121
*/
2222

23-
const val KSCRIPT_VERSION = "2.4.4"
23+
const val KSCRIPT_VERSION = "2.4.5"
2424

2525
val selfName = System.getenv("CUSTOM_KSCRIPT_NAME") ?: "kscript"
2626

0 commit comments

Comments
 (0)