Skip to content

Commit 93e28cd

Browse files
author
Holger Brandl
committed
Increased versions to v2.8.0
1 parent d246512 commit 93e28cd

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

NEWS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11

2+
## 2.8
3+
4+
Improvements & Fixes
5+
* [#214](https://github.com/holgerbrandl/kscript/pull/214) Added credentials support for `@file:MavenRepository` annotation (thanks to [@meonlol](https://github.com/meonlol)
6+
for providing the PR and his patience)
7+
8+
29
## 2.7
310

411
Improvements & Fixes

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ Using annotations instead of comment directives to configure scripts is cleaner
314314
// Note that for compatibility reasons, only one locator argument is allowed for @DependsOnMaven
315315

316316

317+
// also protected artifact repositories are supported, see <https://github.com/holgerbrandl/kscript/blob/master/test/TestsReadme.md#manual-testing>
318+
// @file:MavenRepository("my-art", "http://localhost:8081/artifactory/authenticated_repo", user="auth_user", password="password")
319+
320+
317321
// Include helper scripts without deployment or prior compilation
318322
@file:Include("util.kt")
319323

@@ -338,8 +342,8 @@ com.github.holgerbrandl:kscript-annotations:1.2
338342

339343
Note, that if a script is located in a package other than the root package, you need to import the annotations with (e.g. `import DependsOn`).
340344

341-
Text Processing Mode
342-
--------------------
345+
346+
## Text Processing Mode
343347

344348
`kscript` can be used as a speedier and more flexible substitute for built-in terminal text tools such as `awk` or `sed`. Its text processing mode can be enabled with `-t` or `--text`. If so, `kscript` will
345349

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

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

24-
const val KSCRIPT_VERSION = "2.7.1"
24+
const val KSCRIPT_VERSION = "2.8.0"
2525

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

0 commit comments

Comments
 (0)