Skip to content

Commit 10a9cef

Browse files
committed
removed snapshot dependency (relates #176)
1 parent 20646c5 commit 10a9cef

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# start container with
2+
#docker pull maven:3.5.4-jdk-8
3+
#docker run --rm --name sparklin -it maven:3.5.4-jdk-8 /bin/bash --login
4+
5+
6+
## install kotlin, maven and gradle
7+
apt-get update
8+
apt-get install zip
9+
curl -s 'https://get.sdkman.io' | bash
10+
source ~/.sdkman/bin/sdkman-init.sh && sdkman_auto_answer=true && sdk install kotlin && sdk install maven && sdk install gradle && sdk install kscript
11+
12+
cd /
13+
git clone https://github.com/khud/sparklin
14+
cd sparklin
15+
git checkout f200d1461d7f5f6ca625c39fb7915d4fa71eb56e
16+
mvn clean install
17+
18+
cd /
19+
git clone https://github.com/khud/kshell-repl-api
20+
cd kshell-repl-api
21+
git checkout c32e4e
22+
mvn install
23+
24+
## test the orignal launcher
25+
#../sparklin/bin/kshell.sh
26+
27+
cd /
28+
wget https://raw.githubusercontent.com/holgerbrandl/kscript/master/misc/kshell_launcher/kshell_kts.sh
29+
chmod +x kshell_kts.sh
30+
31+
echo '@file:DependsOn("de.mpicbg.scicomp:krangl:0.9.1")' >> example.kts
32+
33+
./kshell_kts.sh example.kts

misc/kshell_launcher/kshell_kts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo '
1515
// should be now on maven central
1616
@file:DependsOn("com.github.khud:kshell-repl-api:0.2.4-1.2.60")
1717
18-
@file:DependsOn("sparklin:jline3-shaded:0.2-SNAPSHOT")
18+
@file:DependsOn("sparklin:jline3-shaded:0.2")
1919
2020
//@file:DependsOn("sparklin:kshell:0.2-SNAPSHOT")
2121
@file:DependsOn("sparklin:kshell:0.2.5")

0 commit comments

Comments
 (0)