Commit 970fb42
authored
Kscript 4.2 (#381)
*Breaking changes*
* Renamed environment variable from 'KSCRIPT_DIR' to 'KSCRIPT_DIRECTORY'
*Enhancements*
* New GitHub organization: http://github.com/kscripting[kscripting]
* More work on Windows shell compatibility; most functionality works on Windows as on systems with bash
* Change the name of the kscript package to io.github.kscripting:kscript
* Final execution of the script is handled by kscript, not by bash (reduces dependency on bash)
* Separate library for shell execution kscripting/shell
* Ability to provide local artifacts path through *KSCRIPT_DIRECTORY_ARTIFACTS* or configuration file property:
*scripting.directory.artifacts* (thanks to https://github.com/vsajip[Vsajip] for initial implementation)
* kscript jar is released to Maven Central: *io.github.kscripting:kscript:4.2.0*
* Change the way of checking the latest kscript version (simplifies releases)
* Deprecate old annotations in the kscript-annotations library
* Improved implementation: VersionChecker, ConfigBuilder etc.
* Updated Gradle and dependencies
* Deprecated @file:Include in favour of @file:Import as a preparation of switch to Kotlin Scripting
* Replaced DocOpt with Apache CLI
* Changed the way of creating distribution package - now it is handled by Gradle
* Version of kscript is set by Gradle (generated BuildConfig class)
* Improved DependencyResolver: aar archives are also included in the classpath
* When creating an IntelliJ project, Gradle and Idea is no more required
*Bugfixes*
* Fixed exit code on Windows
*Other*
* Deprecation of "Include" in favor of "Import"
* Infrastructure for publishing kscript
* Updated kscript-annotations
* Changed a way of building distribution of kscript
* KScript version is derived from Gradle build file (BuildConfig)
* Handle snapshot versions in VersionChecker
* Updated Github actions
* Updated start-up scripts
* Additional tests, which now work on Windows.
* Updated Kotlin version
* Fixed REPL
* Better handling of different command line options
* Build target is now JVM 11
* Documentation converted to .adoc
* Fixed Dockerfile
* Updated docs
* Updated dependencies1 parent eb69141 commit 970fb42
File tree
127 files changed
+2782
-2876
lines changed- .github/workflows
- docs
- gradle/wrapper
- misc
- kshell_launcher
- src
- integration/kotlin
- io/github/kscripting/kscript/integration
- tools
- kscript/integration/tools
- main/kotlin
- io/github/kscripting/kscript
- cache
- code
- creator
- model
- parser
- resolver
- util
- kscript/app
- creator
- model
- shell
- util
- test/kotlin
- io/github/kscripting/kscript
- code
- model
- parser
- resolver
- util
- kscript/app
- model
- resolver
- util
- test/resources
- config
- jars
- subdir
- consolidate_includes
- custom_dsl
- includes
- dup_include
- rel_includes
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
127 files changed
+2782
-2876
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 1 | + | |
9 | 2 | | |
| 3 | + | |
10 | 4 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | | - | |
| 30 | + | |
| 31 | + | |
22 | 32 | | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
26 | | - | |
27 | 36 | | |
28 | 37 | | |
29 | 38 | | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
33 | | - | |
| 42 | + | |
34 | 43 | | |
35 | 44 | | |
36 | 45 | | |
| |||
41 | 50 | | |
42 | 51 | | |
43 | 52 | | |
44 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | 60 | | |
55 | | - | |
56 | | - | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 6 | | |
10 | 7 | | |
11 | 8 | | |
12 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments