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
275275@file:MavenRepository(" imagej-releases" ," http://maven.imagej.net/content/repositories/releases" )
276276
277277// 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
279278@file:DependsOnMaven(" net.clearvolume:cleargl:2.0.1" )
279+ // Note that for compatibility reasons, only one locator argument is allowed for @DependsOnMaven
280280
281281
282282// 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
342342However in case you're using a companion object to declare the entry point, you need to indicate this via the ` //ENTRY ` directive:
343343
344344
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?
346346
347347In order to use cygwin you need to use windows paths to provide your scripts. You can map cygwin paths using ` cygpath ` . Example
348348``` bash
349349kscript $( cygpath -w /cygdrive/z/some/path/my_script.kts)
350350```
351351
352352
353- ## Can I use custom artifact repositories?
353+ ### Can I use custom artifact repositories?
354354
355355Yes, 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
356356
You can’t perform that action at this time.
0 commit comments