holgerbrandl
11/16/2017, 2:54 PMapatrida
11/19/2017, 1:02 PMilya.chernikov
11/20/2017, 12:29 PMapatrida
11/21/2017, 12:57 AMtlaukkan
11/21/2017, 8:13 PMkatien
11/21/2017, 10:54 PMirus
12/07/2017, 9:08 AMmkobit
01/24/2018, 2:32 AMkenkyee
02/03/2018, 3:30 PMtradunsky
02/20/2018, 8:24 PMdector
03/06/2018, 12:24 PMcedric
03/06/2018, 9:18 PMcedric
03/07/2018, 5:16 AMengine.eval()
on a small script is taking over six seconds, consistently. This looks crazy to me, is there any way to at least turn on some incremental compilation from the engine?cedric
03/07/2018, 6:01 AMSola
03/20/2018, 11:05 PMreturn
in kts
scripts?bsideup
03/24/2018, 1:12 PMGary Tierney
04/04/2018, 10:40 PMmkdir -p 'META-INF/kotlin/script/templates' && touch META-INF/kotlin/script/templates/my.package.ScriptTemplateClass
SrSouza
04/07/2018, 2:39 PMmplacona
04/14/2018, 9:35 PMval engine = ScriptEngineManager().getEngineByExtension("kts")
Always returns null
. Anyone has any ideas why?gildor
04/20/2018, 3:27 PMSrSouza
05/09/2018, 12:07 AMnekoinemo
05/20/2018, 7:11 PMval bindings: Bindings
available in its context. However, when editing a .kts file there doesn't seem to be obvious way to inform IDE about that, short of writing val bindings: Bindings = SimpleBindings()
at the beginning of the file and commenting it out before compiling.Gary Tierney
05/29/2018, 11:20 AMsdeleuze
05/29/2018, 3:37 PMholgerbrandl
06/06/2018, 7:44 AMilya.chernikov
06/13/2018, 9:29 PMkarelpeeters
06/13/2018, 10:01 PMdeviant
06/18/2018, 3:28 PM//DEPS
syntax to declare dependencies. is there such feature in kotlin compiler?irus
06/23/2018, 1:38 PMsdeleuze
07/03/2018, 8:26 AM*.kts
files will be compiled automatically. I have a src/main/resources/application.kts
file that is defining val foo = ...
and I would like to access foo
from my src/main/kotlin
source code. Is that use case supported? Does it require specific configuration?sdeleuze
07/03/2018, 8:26 AM*.kts
files will be compiled automatically. I have a src/main/resources/application.kts
file that is defining val foo = ...
and I would like to access foo
from my src/main/kotlin
source code. Is that use case supported? Does it require specific configuration?ilya.chernikov
07/03/2018, 9:00 AMval scriptClass = Class.forName("Application")
val ctor = scriptClass.getConstructor() // the params depend on your definition
...
sdeleuze
07/03/2018, 9:01 AM1.2.60
EAP next week then*.kts
compilation from resources? The point of app configuration is to be separated from source code and I would like it to be optionaly externaliable.application.properties
would be really niceilya.chernikov
07/03/2018, 9:16 AMsdeleuze
07/03/2018, 12:16 PMilya.chernikov
07/03/2018, 12:54 PMsdeleuze
07/03/2018, 2:09 PMilya.chernikov
07/09/2018, 4:15 PMeval
call is the script class instance.
Since you’re using the result returned from the script engine, I think it would be easier if you’ll continue to use JSR223 for now.sdeleuze
07/10/2018, 3:09 PMilya.chernikov
08/29/2018, 12:56 PMsdeleuze
08/29/2018, 12:56 PM