File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,8 +275,8 @@ Using annotations instead of comment directives to configure scripts is cleaner
275
275
@file:MavenRepository(" imagej-releases" ," http://maven.imagej.net/content/repositories/releases" )
276
276
277
277
// For compatibility with https://github.com/ligee/kotlin-jupyter kscript supports also
278
- // Note that for compatibility reasons, only one locator argument is allowed here
279
278
@file:DependsOnMaven(" net.clearvolume:cleargl:2.0.1" )
279
+ // Note that for compatibility reasons, only one locator argument is allowed for @DependsOnMaven
280
280
281
281
282
282
// Include helper scripts without deployment or prior compilation
@@ -342,15 +342,15 @@ Yes, (since v1.6) you can run kotlin source files through `kscript`. By default
342
342
However in case you're using a companion object to declare the entry point, you need to indicate this via the ` //ENTRY ` directive:
343
343
344
344
345
- ## Why does it fail to read my script file when using cygwin?
345
+ ### Why does it fail to read my script file when using cygwin?
346
346
347
347
In order to use cygwin you need to use windows paths to provide your scripts. You can map cygwin paths using ` cygpath ` . Example
348
348
``` bash
349
349
kscript $( cygpath -w /cygdrive/z/some/path/my_script.kts)
350
350
```
351
351
352
352
353
- ## Can I use custom artifact repositories?
353
+ ### Can I use custom artifact repositories?
354
354
355
355
Yes, via the ` @MavenRepository ` annotation. See [ annotations section] ( #annotation-driven-script-configuration ) or [ custom_mvn_repo_annot] ( test/resources/custom_mvn_repo_annot.kts ) for a complete example
356
356
You can’t perform that action at this time.
0 commit comments