Skip to content

Commit 3179a31

Browse files
author
Holger Brandl
committed
added gradle dependency to travis setup
1 parent ecd3fb8 commit 3179a31

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ install:
4343
# - sudo apt-get install -y openjdk-8-jdk
4444
- sdk install maven
4545
- sdk install kotlin
46+
- sdk install gradle
4647

4748
## install assert.h
4849
- wget https://raw.github.com/lehmannro/assert.sh/v1.1/assert.sh && chmod +x assert.sh

NEWS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
## v2.4
44

55
Major Enhancements:
6-
* Allow to set `kotlinc` compiler flags with @file:CompilerOpts or `//COMPILER_OPTS` (#84). See [here](https://github.com/holgerbrandl/kscript#deploy-scripts-as-standalone-binaries).
7-
* Provide a way to "package" kscripts (#63). See [here](https://github.com/holgerbrandl/kscript#configure-the-runtime--with-kotlin_opts).
6+
* Allow to set `kotlinc` compiler flags with `@file:CompilerOpts` or `//COMPILER_OPTS` (#84). See [here](https://github.com/holgerbrandl/kscript#deploy-scripts-as-standalone-binaries).
7+
* Provide a way to _package_ kscripts (#63). See [here](https://github.com/holgerbrandl/kscript#configure-the-runtime--with-kotlin_opts).
88

99
Minor Enhancements:
1010

1111
* Fixed #95: `//INCLUDE` requiring full path
1212
* Fixed #94: stdin does not allow further switches
1313
* Allow for round brackets in artifact ids (fixes #100).
1414
* Fixed #83: interactive fails unless your script contains dependencies
15-
* Fixed #82: Symlinking does not work correctly with --idea and relati…
15+
* Fixed #82: Sym-linking does not work correctly with --idea and relative script paths
1616
* New: Implemented benchmarking suite to assess runtime impact of `kscript`
1717
* Fixed: Don't use null in classpath arguments if classpath is empty
1818
* Fixed: Use `exec` for derived interpreter
19-
* Simplify Gradle config for script boostraping with IDEA (#86)
19+
* Simplify Gradle config for script bootstrapping with IDEA (#86)
2020
* Added Gradle wrapper to the project (#87 and #88)
2121

2222

test/test_suite.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ assert "${KSCRIPT_HOME}/test/resources/script_in_pckg.kts" "I live in a package!
204204

205205

206206
## can we resolve relative imports when using tmp-scripts (see #95)
207-
#assert "rm -f ./package_example && kscript --package test/resources/package_example.kts &>/dev/null && ./package_example 1" "package_me_args_1_mem_4772593664"
207+
assert "rm -f ./package_example && kscript --package test/resources/package_example.kts &>/dev/null && ./package_example 1" "package_me_args_1_mem_4772593664"
208208

209-
assert "kscript --package test/resources/package_example.kts" "foo"
209+
#assert "kscript --package test/resources/package_example.kts" "foo"
210210
#assert "./package_example 1" "package_me_args_1_mem_4772593664"da
211211
#assert "echo 1" "package_me_args_1_mem_4772593664"
212212
assert_statement 'rm -f kscriptlet* && kscript --package "println(args.size)"' "foo" "bar" 0

0 commit comments

Comments
 (0)