Skip to content

Commit

Permalink
Fix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
cgruber committed Jul 19, 2023
1 parent f956064 commit d44bf59
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kscript.hcl
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
description = "Scripting extensions for kotlin (inclusions and dependencies)"
requires = ["jre@17", "kotlin"]
source = "https://github.com/kscripting/kscript/releases/download/v${version}/kscript-${version}-bin.zip"
binaries = ["bin/kscript"]
strip = 1
test = "kscript -d 'println(\"Kscript: OK\")'"

// these older versions break with Kotlin 1.9, so just limit them to older versions.
version "4.1.1" "4.2.0" "4.2.1" "4.2.2" {
requires = ["kotlin-1.8.22"]
requires = ["jre@17", "kotlin-1.8.22"]
test = "kscript \"\"" // The test rig can't install older kotlin to test these, but they've been tested prior.
}

version "4.2.3-RC.1" {
requires = ["kotlin"]
requires = ["jre@17", "kotlin"]
auto-version {
github-release = "kscripting/kscript"
}
Expand Down

0 comments on commit d44bf59

Please sign in to comment.