Commit Graph

61704 Commits

Author SHA1 Message Date
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
Ilya Goncharov 2f4f4dbbd8 [Gradle, JS] Fix deprecation replace with on register task 2020-02-12 17:29:22 +03:00
Ilya Goncharov d0e2a653f7 [Gradle, JS] Reformat code 2020-02-12 17:29:22 +03:00
Ilya Goncharov 64def2e173 [Gradle, JS] Continue to migrate on ir compiler
- Create own inheritor of KotlinJsCompilation with specific tasks for production and development
- Copy TargetConfigurator for IR purposes
2020-02-12 17:29:22 +03:00
Ilya Goncharov 8b641bf613 [Gradle, JS] Add mpp presets for jsIr 2020-02-12 17:29:22 +03:00
Ilya Goncharov a20e9ae0ed [Gradle, JS] Extract hack for Native and JS IR compiler
- IR to klib compiler needs all dependencies (including transitive implementations)
- move hack from native to common with extracting to protected fun
2020-02-12 17:29:21 +03:00
Ilya Goncharov f936a0fc9b [Gradle, JS] NodeJs and browser producing handlers 2020-02-12 17:29:21 +03:00
Ilya Goncharov 2de7051165 [Gradle, JS] Add produceJs 2020-02-12 17:29:21 +03:00
Ilya Goncharov 64c2b4b076 [Gradle, JS] Add callbacks on configuring producing target for JS IR 2020-02-12 17:29:21 +03:00
Ilya Goncharov e7c6653182 [Gradle, JS] Remove DCE from ir tooling 2020-02-12 17:29:21 +03:00
Ilya Goncharov 6be8a83ff9 [Gradle, JS] Configure compiler args for produceKotlinLibrary in IR 2020-02-12 17:29:21 +03:00
Ilya Goncharov 0ff84eaa63 [Gradle, JS] Copy JS subtargets dsl for IR 2020-02-12 17:29:21 +03:00
Ilya Goncharov 3ac2bae4ce [Gradle, JS] Copy JS plugin for IR 2020-02-12 17:29:21 +03:00
Mikhail Glukhikh ba770f7b61 FIR2IR: fix type parameter indexes & fix some black-box & FIR2IR tests 2020-02-12 17:02:41 +03:00
Toshiaki Kameyama 3ebad2acec "Constructor has non-null self reference parameter": don't report for vararg parameter
#KT-36160 Fixed
2020-02-12 16:35:26 +03:00
Mikhail Glukhikh f3f88cae7a FIR: unmute accidentally muted black-box test 2020-02-12 16:30:47 +03:00