Ilya Chernikov
dec8eb7899
Revert renaming scripting plugin jar:
...
it conflicts with the compilation on daemon, so transistion should
be planned accordingly, and now it is not a good time for it.
The most important part of the renaming remains intact.
Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
2020-05-27 13:15:50 +02:00
Ilya Chernikov
2509dfb287
Rename scripting libs and plugin - invert embeddable suffix
...
now regular, unshaded libs, are named with suffix `-unshaded`, while
former `-embeddable` ones named without any suffix. This will encoursge
use of the shaded libs by default, avoiding conflicts with 3-party
libs packed into the `kotlin-compiler`.
Note, that only the "frontline" libs are renamed to avoid switching
problems, the ones that not normally used directly are left as is,
including the `kotlin-compiler` itself.
2020-05-26 15:58:25 +02:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
Ilya Chernikov
8a8de052a3
Fix JSR-223 and scripting samples dependencies
2019-04-17 22:03:59 +02:00
Yan Zhulanow
0dfe122a40
Pill: Mark more projects as 'jps-compatible' in FULL variant
2019-04-15 05:17:03 +03:00
Ilya Chernikov
731df8d3cc
Proper handling of the scripting compiler plugin in JSR-223 with daemon
2019-02-10 13:33:21 +01:00
Ilya Chernikov
be95acd897
Load scripting plugin explicitly in repl tests and JSR-223
2019-02-10 13:33:21 +01:00
Ilya Chernikov
f125600af1
Restore returning of functional types from repl eval
...
add tests for the broken case as well for the return value representation
#KT-29490 fixed
2019-01-29 15:05:37 +01:00
Vyacheslav Gerasimov
f58acbeef5
Build: implement useBootstrapStdlib flag
...
Excludes stdlib projects from build and uses bootstrap stdlib artifacts
#KT-29205
2019-01-21 21:09:40 +03:00
Sergey Rostov
62222460b6
JPS build, workarounds for idea importing: fix runtime classpath
2019-01-10 08:50:41 +03:00
Sergey Rostov
423653d225
JPS build: workarounds for idea importing
2018-12-26 09:02:44 +03:00
Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Alexey Tsvetkov
8a82c1618c
Use Plugins DSL in Kotlin Gradle scripts
...
When plugins DSL is used, there is no need to
manually generate typesafe accessors for extensions and
conventions (by running `./gradlew kotlinDslAccessorsSnapshot`).
2018-03-26 16:09:29 +03:00
Ilya Chernikov
db7e06aaa4
Make dependencies to the script-runtime directly to the project...
...
instead to vie projectDist. With the current project bootstrap scheme a
dependency to the simply built script-runtime project via dist is not
needed anymore, but it breaks proper sources navigation in IDEA.
2018-02-28 19:29:05 +01:00
Ilya Chernikov
953a485fe7
Increment repl line generation on compilation error
...
fixes #KT-17921 and #KT-21141
Tests added to the JSR223 local eval example
2017-12-26 19:27:32 +01:00
Ilya Chernikov
2d8e73f3f6
Make JSR 223 examples compatible with embeddable compiler, strip ...
...
some dependencies.
Fixes #KT-17561 and related issues
Warning: API changed slightly
2017-12-26 19:27:31 +01:00
Ilya Gorbunov
3bea095618
Remove maven poms that are no longer submodules of the main project
2017-10-16 18:48:09 +03:00
Ilya Chernikov
d039d191f2
Fix tests in the new build infrastructure
2017-09-19 23:58:30 +02:00
Ilya Chernikov
b6c255cea5
Refactor: project renaming, using improved build dsl
2017-09-19 21:37:22 +02:00
Ilya Chernikov
a87396b070
Add scripting projects from libraries
2017-09-19 21:37:21 +02:00
Ilya Chernikov
c034a73d72
Extract and reuse JarFS-related IO fallback configurator function
...
Partly fixes #KT-16927
2017-03-23 18:11:38 +01:00
Ilya Chernikov
8eaeadddfa
Disable flaky statistical benchmark tests for source sections plugin and JSR 223
2017-03-23 18:11:36 +01:00
Ilya Chernikov
319440718c
Add more JSR 223 and repl tests, fix double aggregation of GenericRepl state
...
- repl test with compilation error
- JSR 223 compilable tests
2017-03-23 18:07:45 +01:00
Ilya Chernikov
d439c13fb5
minor: correct measurement error in eval bench test
2017-03-21 16:30:48 +01:00
Ilya Chernikov
a16f412b48
Add eval in eval benchmark tests
2017-02-24 16:58:25 +01:00
Ilya Chernikov
d3682b7f7d
Implement JSR 223 script template with eval functions, some fixes
2017-02-24 16:58:25 +01:00
Ilya Chernikov
b8b044c6b0
Reuse script args substitution for replacing bindings in JSR 223 sample engines, fixes KT-15450
2017-01-27 22:20:44 +01:00
Ilya Chernikov
b86ed0c5d9
Comment out failing test part - temporary, see TODO
2017-01-27 22:20:44 +01:00
Ilya Gorbunov
4da4de1104
Replace kotlin-runtime with kotlin-stdlib, where it was used as a dependency.
2017-01-24 22:04:46 +03:00
Ilya Gorbunov
5ee61702ee
Do not deploy examples as artifacts to maven
2016-12-17 02:25:28 +03:00
Ilya Chernikov
7c8b6ddca4
Implement proper collection of script compilation classpath, use it in the JSR223 example factories
...
Fixes #KT-14713
2016-12-15 07:26:07 +01:00
Ilya Chernikov
c82e91eafe
Implement Invocable on base evaluator and locally-evaluating JSR223 sample engines
...
fixes #KT-14707
2016-12-15 07:26:06 +01:00
Alexander Udalov
414daef001
Rename KotlinVersion->KotlinCompilerVersion, move to module util.runtime
...
Rename to avoid confusion with the recently added kotlin.KotlinVersion
2016-12-07 21:11:15 +03:00
Ilya Chernikov
c2b5c11781
Fix all small and medium-sized issues after review
2016-10-12 15:37:54 +02:00
Ilya Chernikov
10d259771c
Refactor repl and JSR 223 support code, add separate example jars for each type of JSR 223 repl (with tests)
2016-10-12 15:37:52 +02:00