Ilya Chernikov
932b5bf8cd
Scripting: avoid proguarding of slf4j libs in main-kts
...
slf4j libs are bundled unshadowed to main-kts jar to avoid annoying
slf4j stderr printout (slf4j is used in the maven dependencies resolver)
Exluding it from proguard processing solves problems with using it
directly from scripts.
#KT-60813 fixed
#KT-54819 fixed
2023-11-10 17:24:12 +00:00
Ilya Chernikov
6c035bb5f4
Scripting: support scripts starting with UTF-8 BOM
...
#KT-54705 fixed
2023-01-15 20:11:56 +01:00
Ilya Chernikov
d82f8b11f7
minor: bump k-x-serialization version in a main-kts test
2023-01-15 11:14:41 +01:00
Ilya Chernikov
a78d063bef
Scripting: fix script type extraction on psi2ir
...
#KT-48812 fixed
2022-04-29 11:03:12 +00:00
Alexander Udalov
ef6d30dd51
Remove usages of JVM target 1.6 from compiler tests
...
#KT-45165
2022-04-19 22:54:40 +02:00
Ilya Chernikov
35f80c04ca
IR Scripting: update capturing logic for the REPL, imported scripts,
...
as well as all other implicit receivers.
2022-04-04 14:55:53 +00:00
Nikolay Krasko
317b0b4495
Update junit dependency 4.12 -> 4.13.2 in tests
2021-11-24 19:35:32 +03:00
Alexey Subach
ca2f37f6eb
Add possibility to get location of the script.main.kts file
...
#KT-48414 fixed
2021-10-11 15:45:57 +02:00
Ilya Chernikov
e60e80f19a
Scripting: improve reporting on cyclic dependency
...
#KT-48177 fixed
the issue is in fact fixed by the previous commit (report error
on duplicated import) by normalizing import path before processing,
but here we're making error reporting nicer for the case.
2021-08-24 21:39:33 +03:00
Ilya Chernikov
c204d7a86f
Scripting: report error on duplicate import
...
#KT-48177 fixed
(due to the path normalization)
2021-08-24 21:39:32 +03:00
Ilya Chernikov
a7b94b398a
[minor] Bump serialization lib version in scripting test
2021-07-05 19:26:38 +03:00
Ilya Muradyan
92b99b140e
[Scripting] Fix Bintray-dependent test
2021-03-29 18:36:50 +03:00
Ilya Chernikov
5ab822be36
Import scope of the imported script
...
#KT-34178
2020-10-02 18:53:31 +02:00
Leonid Startsev
96d0b1c47a
Update serialization runtime and fix test data
...
Revert "Mute/ignore 'PROVIDED_RUNTIME_TOO_LOW' in tests"
2020-07-29 14:20:33 +03:00
Ilya Muradyan
1ac9b4c38f
Add dependency scopes option for scripting resolvers
2020-07-14 23:42:00 +03:00
Leonid Startsev
80561ec125
Update kx.serialization dependency
...
so tests won't fail due to
'library was compiled with pre-release flag' error.
Update test data
2020-07-07 01:14:32 +03:00
Ilya Chernikov
0ade8140f7
Add serialization plugin test with main-kts
2020-06-19 14:08:19 +02:00
Ilya Chernikov
dbb47cf48e
Implement non-transitive dependencies resolving in main-kts
2020-06-19 14:08:19 +02:00
Ilya Chernikov
278f77713d
Fix default base classloader initialization for scripting hosts
...
also refactor runner functions
#KT-37823 fixed
2020-04-13 13:49:32 +02:00
Ilya Chernikov
ba056bf78c
[minor] Remove irrelevant part of the test
2019-12-11 12:20:48 +01:00
Ilya Chernikov
615624802c
Add kotlinx-html test
...
Among other things it tests the packagePartProvider fix above
2019-12-02 16:46:53 +01:00
Efeturi Money
35d7bb4a26
Add support for @CompilerOptions annotation for supplying compiler
...
options from scripts.
#KT-34274 fixed
2019-10-23 11:37:28 +03:00
Ilya Chernikov
92778cc5b5
Set contextClassLoader for the script evaluation
...
#KT-31661
2019-09-13 13:19:26 +02:00
Ilya Chernikov
ffd1633e3e
Write tests for dynamic versions with ivy and maven resolvers
...
and refactor tests
#KT-27051 fixed
this commit is just a confirmation of the fix: either it worked
from the beginning, or was fixed by some unrelated change
2019-03-20 21:19:24 +01:00
Ilya Chernikov
dd3ac74bd2
Refactor ivy resolver
...
add support for artifacts with type an classifier
use ibiblio resolver by default - it is designed for working with maven central
add test, but disable it - see comments for the reason and todos
2019-03-20 21:19:24 +01:00
Ilya Chernikov
a6c90f13c2
Implement test for #KT-29301, #KT-29296 and #KT-29293
2019-01-18 18:17:46 +01:00
Ilya Chernikov
02f2c941c8
Add import support to main-kts, with test
2019-01-10 10:59:32 +01:00
Ilya Chernikov
fa98b0afac
Implement main-kts project and test
2018-09-07 18:47:18 +02:00