Ilya Goncharov
d33521052f
[Gradle, JS] In Ir target should configure Ir subtarget
2020-02-12 17:29:28 +03:00
Ilya Goncharov
831757018c
[Gradle, JS] Check only once set producing type
2020-02-12 17:29:28 +03:00
Ilya Goncharov
9f3601412b
[Gradle, JS] Commonize producing for js targets
2020-02-12 17:29:28 +03:00
Ilya Goncharov
8322d7b007
[Gradle, JS] Move producing dsl from subtarget to target in IR
2020-02-12 17:29:28 +03:00
Ilya Goncharov
7a3b6e2d71
[Gradle, JS] Move producing dsl from subtarget to target
2020-02-12 17:29:28 +03:00
Ilya Goncharov
2680ea6bdd
[Gradle, JS] Fix after rebase on master
2020-02-12 17:29:28 +03:00
Ilya Goncharov
a2930b45f6
[Gradle, JS] Fix compilation after rebase
2020-02-12 17:29:28 +03:00
Ilya Goncharov
35c681685b
[Gradle, JS] Set only one attribute for ir target
...
- Because if new library version can be consumed from old plugin, which doesn't know about new attribute
We don't add attribute for legacy variant, and Gradle find necessary variant with less attribute count
2020-02-12 17:29:28 +03:00
Ilya Goncharov
31f8fe0461
[Gradle, JS] Api and runtime variants for legacy and ir
2020-02-12 17:29:27 +03:00
Ilya Goncharov
15a33a8503
[Gradle, JS] Fix naming
2020-02-12 17:29:27 +03:00
Ilya Goncharov
8f8eaa28d5
[Gradle, JS] Add attribute for IR target
2020-02-12 17:29:27 +03:00
Ilya Goncharov
9833e2202e
[Gradle, JS] Hack for npm resolving of js mixed mode
2020-02-12 17:29:27 +03:00
Ilya Goncharov
a1e6f566f6
[Gradle, JS] Add disambiguation classifier for MPP
2020-02-12 17:29:27 +03:00
Ilya Goncharov
246fb31786
[Gradle, JS] Add hack for process ir compilations in NPM resolver in mixed
2020-02-12 17:29:27 +03:00
Ilya Goncharov
18fa5266b7
[Gradle, JS] Producing for ir target through legacy target
2020-02-12 17:29:27 +03:00
Ilya Goncharov
21a1e2e89f
[Gradle, JS] Add additinal DSL (with KotlinLibrary or Executable) for mixed and legacy
2020-02-12 17:29:26 +03:00
Ilya Goncharov
00572395da
[Gradle, JS] Fix naming of produce Js
2020-02-12 17:29:26 +03:00
Ilya Goncharov
808a776efb
[Gradle, JS] Default source-set name w/o legacy disambiguation in mixed
2020-02-12 17:29:26 +03:00
Ilya Goncharov
27b9c6ff29
[Gradle, JS] Fix compilation after cherry-pick
2020-02-12 17:29:26 +03:00
Ilya Goncharov
619b922215
[Gradle, JS] Difference through gradle attribute
2020-02-12 17:29:26 +03:00
Ilya Goncharov
4d323d3567
[Gradle, JS] Fix attribute type on type of zip
2020-02-12 17:29:26 +03:00
Ilya Goncharov
b3067d655e
[Gradle, JS] Rebase on master
2020-02-12 17:29:26 +03:00
Ilya Goncharov
3731d4b89a
[Gradle, JS] Publish with 2 variants
2020-02-12 17:29:26 +03:00
Ilya Goncharov
f15d1ef23e
[Gradle, JS] Create not Jar tasks, but Zip tasks, because we can create klibs
2020-02-12 17:29:25 +03:00
Ilya Goncharov
3467230242
[Gradle, JS] Add appendix for archive in case of mixed mode
2020-02-12 17:29:25 +03:00
Ilya Goncharov
f169c8ea24
[Gradle, JS] Flags with producing unzipped klib is by default
2020-02-12 17:29:25 +03:00
Ilya Goncharov
b37c2a05fd
[Gradle, JS] Configure ir target in legacy plugin #2
2020-02-12 17:29:25 +03:00
Ilya Goncharov
43ab4ad8e8
[Gradle, JS] Configure ir target in legacy plugin
2020-02-12 17:29:25 +03:00
Ilya Goncharov
04c0b8c07d
[Gradle, JS] Inject ir's classes into legacy for mixed mode #2
2020-02-12 17:29:25 +03:00
Ilya Goncharov
fd93654c4f
[Gradle, JS] Inject ir's classes into legacy for mixed mode
2020-02-12 17:29:25 +03:00
Ilya Goncharov
e6be134f2a
[Gradle, JS] Activate legacy plugin and new plugin via gradle property
2020-02-12 17:29:25 +03:00
Ilya Goncharov
29c2d62e43
[Gradle, JS] Compile fix after rebase
2020-02-12 17:29:24 +03:00
Ilya Goncharov
0c7284de01
[Gradle, JS] Link test task with property of compile task
2020-02-12 17:29:24 +03:00
Ilya Goncharov
dd577e1008
[Gradle, JS] Migrate in KotlinJsIrTest
2020-02-12 17:29:24 +03:00
Ilya Goncharov
bf415704b6
[Gradle, JS] Generalization of Js test frameworks to work with ir
2020-02-12 17:29:24 +03:00
Ilya Goncharov
599215e74a
[Gradle, JS] Migrate on properties to link output of compile with consumer
2020-02-12 17:29:24 +03:00
Ilya Goncharov
4bd744f163
[Gradle, JS] Fix run for nodejs with IR backend
2020-02-12 17:29:24 +03:00
Ilya Goncharov
14387332d5
[Gradle, JS] Distribution task depends on processed resources
2020-02-12 17:29:24 +03:00
Ilya Goncharov
9c89859c67
[Gradle, JS] Webpack catch files from js compilations
2020-02-12 17:29:24 +03:00
Ilya Goncharov
d827f9b040
[Gradle, JS] JS compile tasks nit in archives now
2020-02-12 17:29:23 +03:00
Ilya Goncharov
4861b47f9c
[Gradle, JS] Enable IR backend for prod and dev tasks
2020-02-12 17:29:23 +03:00
Ilya Goncharov
2e22b8eb9a
[Gradle, JS] Register link tasks
2020-02-12 17:29:23 +03:00
Ilya Goncharov
60da60757d
[Gradle, JS] Extract KotlinJsLinkTask
2020-02-12 17:29:23 +03:00
Ilya Goncharov
c043fc2272
[Gradle, JS] Prod and dev compile tasks depends on klib compile task
2020-02-12 17:29:23 +03:00
Ilya Goncharov
3ee7e9272b
[Gradle, JS] Depends on prod and dev compile tasks
2020-02-12 17:29:23 +03:00
Ilya Goncharov
222c663fac
[Gradle, JS] Configure prod and dev compilations
2020-02-12 17:29:23 +03:00
Ilya Goncharov
abf2a9e073
[Gradle, JS] Extract ir compiler flags
2020-02-12 17:29:22 +03:00
Ilya Goncharov
ad321e45dc
[Gradle, JS] Create KotlinJsIrCompilationFactory
2020-02-12 17:29:22 +03:00
Ilya Goncharov
5bdf9f6e39
[Gradle, JS] Fix codegen and avoid deprecate
2020-02-12 17:29:22 +03:00
Ilya Goncharov
544a6bf15e
[Gradle, JS] Add production and development compilations
2020-02-12 17:29:22 +03:00