Anthony Dahanne
10/29/2020, 6:53 PMkotlin-scripts-examples
to ask for documentation on authentication with private repositories
https://github.com/Kotlin/kotlin-script-examples/issues/5
still no luckAnthony Dahanne
10/29/2020, 8:41 PMbjonnh
10/30/2020, 8:33 PMbjonnh
10/30/2020, 8:34 PMbjonnh
10/30/2020, 8:35 PMbjonnh
10/30/2020, 8:53 PMbjonnh
10/30/2020, 8:53 PMbjonnh
10/30/2020, 8:56 PMbjonnh
10/30/2020, 10:33 PMbjonnh
10/30/2020, 10:33 PMbjonnh
10/30/2020, 10:34 PMScriptEngineManager().getEngineByExtension("kts")
returns nullbjonnh
10/30/2020, 10:34 PMbjonnh
10/30/2020, 10:35 PMbjonnh
10/30/2020, 11:23 PMholgerbrandl
11/10/2020, 11:18 PMbirdsofparadise
01/02/2021, 9:47 PMpgreze
02/04/2021, 7:57 AMSystem.getProperties()["sun.java.command"].toString().split(" ").let {
it[it.indexOfLast { item -> item == "-script" } + 1]
}
but it’s not handling well escaped spaces + quite verbose. In Python you would find it with sys.argv[0]
Rodrigo Graciano
02/07/2021, 8:38 PMkissed
03/18/2021, 9:24 AMBmyte
06/17/2021, 2:23 AMlouiscad
07/01/2021, 8:04 AMlouiscad
07/07/2021, 7:48 AM.main.kts
script?
Edit: Opened an issue here: https://youtrack.jetbrains.com/issue/KTIJ-19059
Edit 2: Found a workaround that involves not using EAP to edit Kotlin scripts, added in the issue comment.pgreze
08/03/2021, 9:01 AMSu5eD
09/14/2021, 3:43 PMelect
09/14/2021, 3:48 PMdependsOn
or?etolstoy
09/14/2021, 7:21 PMBig Chungus
10/29/2021, 10:24 AMmbonnin
10/29/2021, 11:25 AMmavenLocal
as a repository but I've seen this yesterdaymbonnin
10/29/2021, 11:28 AM