Vyacheslav Gerasimov
bc2f0936bd
Build: Rename commonDep -> commonDependency
2021-12-16 21:48:19 +03:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Vyacheslav Gerasimov
b5ee0e8222
Build: Remove jvmTarget 1.6 for several modules depending on 1.8 modules
...
Module targeting jvm 1.6 can't depend on jvm 8 one. In Gradle 6.5 this
behaviour is enforced by configuration error.
2020-07-09 19:31:20 +03:00
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
Ilya Gorbunov
59482f6827
Do not blank opt in for allowing kotlin package in all subprojects
...
-Xallow-kotlin-package must be specified explicitly to prevent
unintended declarations in kotlin package.
2019-10-24 16:05:48 +03:00
Ilya Chernikov
8219d9853c
Implement configuration for describing only published runtime dependencies...
...
and fix runtime dependencies for published scripting artifacts
2019-08-20 21:17:56 +02:00
Yan Zhulanow
086b151e1f
Pill: Fix project build, add kotlin-scripting-jvm-host module
2019-08-07 01:15:32 +09:00
Vyacheslav Gerasimov
5a39c637c2
Build: Fix intellij dependency leak from ir tree module
2019-06-13 21:03:55 +03:00
Vyacheslav Gerasimov
5bde9720b7
Build: Fix dependencies on :kotlin-compiler project
...
Dependencies on :kotlin-compiler should never be used in configurations
which are imported transitively because ide fails to import it as
project dependency. When :kotlin-compiler dependency is imported as
kotlin-compiler.jar dependency ide re-indexes it on every change. This
behaviour is super annoying.
#KT-31120 Fixed
2019-06-08 19:36:28 +03:00
Ilya Chernikov
5d8c2ae429
Fix dependencies to compiler in scripting modules
2019-05-25 10:10:32 +02:00
Ilya Chernikov
37d859c122
Move scripting jvm host tests to a separate project...
...
to solve problems with testing with direct dependency on proguarded compiler
2019-05-25 10:10:32 +02:00
Ilya Chernikov
1527ef7640
Drop dependencies to script-util from new scripting infrastructure
2019-05-25 10:10:32 +02:00
Ilya Chernikov
1dd197f201
Add missing scripting tests to the global task, make them parallel
2019-05-25 10:10:30 +02:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
Ilya Chernikov
a65dafc37d
Move scripting support classes to the scripting compiler impl module
2019-04-17 22:03:58 +02:00
Yan Zhulanow
0b94aa4be2
Pill: Disable a couple of scripting modules
...
Seems like these modules use the embeddable verson of the scripting host dependency that is not built in the Pill build.
2019-03-27 22:15:26 +03:00
Ilya Chernikov
18198987a3
Restore jvmTarget 1.6 for scripting libraries that could be used externally
...
#KT-29319 fixed
2019-03-13 08:47:17 +01:00
Vyacheslav Gerasimov
a42f607ecf
Build: Fix artifacts signing for maven central
...
With gradle > 5.0 `publish()` helper call should be done before
`noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
2019-02-27 13:21:17 +03:00
Ilya Chernikov
5ef6ad916f
Apply scripting compiler plugin to the jvm scripting host compiler
2019-02-10 13:31:57 +01:00
Mikhael Bogdanov
a122cba862
Switch Kotlin project to jvm-target 1.8
...
#KT-29405
2019-01-31 07:43:05 +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
423653d225
JPS build: workarounds for idea importing
2018-12-26 09:02:44 +03:00
Ilya Chernikov
77095cb895
[minor] add missing dependency
2018-12-20 17:09:22 +01:00
Ilya Chernikov
729ebcac9b
Implement simple "add to compilation" functionality for scripts
...
(incomplete import - scripts added to the compilation but not yet
imported into scope)
Base functionality needed for #KT-27960
2018-12-20 17:09:16 +01:00
Ilya Gorbunov
a64a76d5fc
Remove experimental coroutines opt-in from build scripts
...
It has no effect in Kotlin 1.3
Only enable coroutines if '-ReleaseCoroutines' is used
2018-11-09 04:00:26 +03:00
Ilya Chernikov
7860220e76
Add simple jvm scripting host test
2018-09-06 19:17:44 +02:00
Ilya Chernikov
539e0f4961
[minor] switch to project dependencies in scripting projects
2018-09-06 19:17:43 +02:00
Denis Zharkov
003f381fcd
Replace default-type dependencies to :kotlin-stdlib with distJar
...
Use distJar configuration instead.
It's necessary because currently when using default-type, subproject
starts having a transitive dependency to :kotlin-stdlib-common
and that leads to exception from KT-20897 when building light classes
This change might be reverted once KT-23942 is fixed
#KT-23942 Submitted
2018-04-26 16:11:27 +03:00
Yan Zhulanow
715421566b
Pill: Add new script modules
2018-04-09 19:45:49 +03:00
Ilya Chernikov
29797ec264
Switch to plugins section in scripting build files after rebasing
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
c48a74b84a
Implement base jvm scripting infrastructure
2018-04-04 16:23:54 +02:00