Ilya Chernikov
5058c66e8c
Refactor scripting properties:
...
- flatten the structure
- add some parameters
- replace iterables with lists
- renaming all scope objects uniformily
also:
- fix passing and usage of script sources
- renamings and other minor improvements
2018-04-04 16:23:58 +02:00
Ilya Chernikov
2ddcc280a9
Implement simplified property bag dsl:
...
move it to the separate jar,
use property bag chaining
2018-04-04 16:23:57 +02:00
Ilya Chernikov
495c75c48e
Rename heterogeneous map to PropertyBag, make it chainable
...
the commit is needed to implement single chained script configuration bags
2018-04-04 16:23:57 +02:00
Ilya Chernikov
6ea41b425d
Pass script source directly instead of via configuration
2018-04-04 16:23:57 +02:00
Ilya Chernikov
29797ec264
Switch to plugins section in scripting build files after rebasing
2018-04-04 16:23:57 +02:00
Ilya Chernikov
ae2af238fa
Fixes after refactoring the API
2018-04-04 16:23:57 +02:00
Ilya Chernikov
1f0cac50d2
Refactor scriptDefinition in the common part
...
- get rid of selector (because of confusions), move it's data into
definition itself and make it more generic with heterogeneous map
- make main KotlinScript annotation accept complete definition
- make additional annotation for building definition from parts
- add ScriptingEnvironment and pass it as a constructor parameter to
the script handlers
- rename some classes for clarity
2018-04-04 16:23:57 +02:00
Ilya Chernikov
2c3a50e4b3
Refactor scripting examples:
...
- split into script def and host part
- remove bad dependencies
- organize it in a way that should be typical for user scenarios
2018-04-04 16:23:56 +02:00
Ilya Chernikov
7cca1a72d3
Fix after review: add stdlib to the script compilation classpath by default
2018-04-04 16:23:56 +02:00
Ilya Chernikov
00320bad8d
Implement support for additional receivers in the backend
2018-04-04 16:23:56 +02:00
Ilya Chernikov
0f0934aaa2
Change jvm implementation after adding configuration dsl
2018-04-04 16:23:55 +02:00
Ilya Chernikov
1723ff658d
Refactoring heterogeneous map handling, add dsl builders
2018-04-04 16:23:55 +02:00
Ilya Chernikov
0c06ec9088
Implement script templates discovery in the idea plugin
2018-04-04 16:23:54 +02:00
Ilya Chernikov
c48a74b84a
Implement base jvm scripting infrastructure
2018-04-04 16:23:54 +02:00
Ilya Chernikov
aac7f97121
Add new experimental scripting API
2018-04-04 16:23:53 +02:00