Commit Graph

3766 Commits

Author SHA1 Message Date
Svyatoslav Kuzmich 1b8df45bfe [JS IR] Support generating both IR and pre-IR libraries
Remove all previous -Xir options

Add:
 -Xir-produce-klib-dir
 -Xir-produce-klib-file
 -Xir-produce-js
 -Xir-only
2019-11-01 19:42:05 +03:00
LepilkinaElena e638b9fd12 K/N performance gradle plugin. Added options and right code size for … (#2752) 2019-11-01 18:16:43 +03:00
Ilya Goncharov eeadc95bc1 [Gradle, JS] Remove check on duplicated targets
Useful (for KT-33828), if provider of artifact has changed, but remained only one

#KT-33828 fixed
2019-10-31 10:46:17 +03:00
Ilya Goncharov 08f9dd2aea [Gradle, JS] Fix entry for webpack (with Configuration Avoidance broke) 2019-10-30 18:58:56 +03:00
Ilya Goncharov 6ecc7eab7e [Gradle, JS] Add compatible aliases for old tasks
#KT-32323 fixed
#KT-32283 fixed
2019-10-29 19:41:20 +03:00
Ilya Goncharov dc3f3ce80d [Gradle, JS] Rename experimental annotation with warning level 2019-10-29 19:39:12 +03:00
Ilya Goncharov e7a45fb536 [Gradle, JS] JS specific build variants 2019-10-29 19:39:12 +03:00
Ilya Goncharov e3ec37b14f [Gradle, JS] Common webpack's configurations 2019-10-29 19:39:12 +03:00
Ilya Goncharov eb7fe6b0a4 [Gradle, JS] Each task configure your own dceOutputFileApplier 2019-10-29 19:39:12 +03:00
Ilya Goncharov 2d026e7973 [Gradle, JS] Make disambiguate take vararg 2019-10-29 19:39:12 +03:00
Ilya Goncharov 92c5b9c66e [Gradle, JS] Configure build and run in one place: configureMain 2019-10-29 19:39:12 +03:00
Ilya Goncharov aca5628622 [Gradle, JS] Use experimental dce annotation 2019-10-29 19:39:12 +03:00
Ilya Goncharov f55680a737 [Gradle, JS] Configure build and run in one place: configureMain 2019-10-29 19:39:12 +03:00
Ilya Goncharov ead4528445 [Gradle, JS] Make multiple entry points and output for webpack 2019-10-29 19:39:12 +03:00
Ilya Goncharov f66e6337fe [Gradle, JS] Fix test on DCE working with usual js files 2019-10-29 19:39:11 +03:00
Ilya Goncharov 83527a6d0e [Gradle, JS] DCE dsl interface used in browserDsl 2019-10-29 19:39:11 +03:00
Ilya Goncharov 2ffd8bed48 [Gradle, JS] Depends on according to Task Configuration Avoidance 2019-10-29 19:39:11 +03:00
Ilya Goncharov d2727e2f25 [Gradle, JS] Add possibility to configure dce task 2019-10-29 19:39:11 +03:00
Ilya Goncharov e1387e3d3d [Gradle, JS] Provide entry for DCE to webpack 2019-10-29 19:39:11 +03:00
Ilya Goncharov 174fd5975d [Gradle, JS] Add resolveFromModulesFirst option
When we collect all DCE'd files, we need, that webpack to watch on these files, not on node_modules module
2019-10-29 19:39:11 +03:00
Ilya Goncharov 51f4dc5af0 [Gradle, JS] Filter DCE candidates
We should process DCE only for:
- JARs
- JSs with neighbors meta.js
2019-10-29 19:39:11 +03:00
Ilya Goncharov faa5846252 [Gradle, JS] Add DCE task with dependsOn relationships 2019-10-29 19:39:11 +03:00
Ilya Goncharov a7cae0fc78 [Gradle, JS] Cartesian product of build variant and task types 2019-10-29 19:39:11 +03:00
Ilya Goncharov 6e0f5f71f1 [Gradle, JS] Divide values for devtool (source maps) 2019-10-29 19:39:11 +03:00
Ilya Goncharov 6c4e7921f7 [Gradle, JS] Single entry for webpack 2019-10-29 19:39:11 +03:00
Ilya Goncharov 973cd51497 [Gradle, JS] Add webpack mode depends on build variant kind 2019-10-29 19:39:10 +03:00
Ilya Goncharov 603e263003 [Gradle, JS] Add BuildVariants 2019-10-29 19:39:10 +03:00
Ilya Goncharov 3e9e9c02c6 [Gradle, JS] Extract build task configuration from run task 2019-10-29 19:39:10 +03:00
Alexander Udalov 74c9120d9d Minor, don't use outdated Groovy dependency
See https://ossindex.sonatype.org/vuln/91433254-870c-47a2-aa06-1b303a92c018

 #TPV-3545 Fixed
2019-10-29 16:07:52 +01:00
Alexander Udalov 896512f7cd Support KClass.isInstance/cast/safeCast in stdlib-only reflection implementation
#KT-14720 Fixed
2019-10-29 15:52:00 +01:00
Alexander Udalov 5c89f2fa54 Support KClass.qualifiedName in stdlib-only reflection implementation
#KT-34586 Fixed
2019-10-29 15:51:25 +01:00
Alexander Udalov c164745301 Support KClass.simpleName in stdlib-only reflection implementation
#KT-33646 Fixed
2019-10-29 15:51:21 +01:00
Alexander Udalov df4ab4ed81 Add JVM bytecode target version 13
#KT-34119 Fixed
2019-10-29 12:54:24 +01:00
LepilkinaElena b37dc32e03 Kotlin/Native performance gradle plugin (#2713) 2019-10-29 14:23:50 +03:00
Ilya Goncharov 042100ea77 [Gradle, JS] Disable puppeteer downloading Chrome 2019-10-29 12:03:49 +03:00
Nikolay Krasko 3643ae4765 Update 193 to more recent 193.4778.7-EAP 2019-10-28 14:06:06 +03:00
Ilya Goncharov c127cbaa6a [Gradle, JS] Fix stack trace for inner classes
Necessary only classname, Gradle find package on itself

#KT-30917 fixed
2019-10-28 11:50:52 +03:00
Vyacheslav Gerasimov 28e34f5175 Build: Exclude kotlin-stdlib-common from kotlin-osgi-bundle
#KT-31365
2019-10-25 21:53:41 +03:00
Alexander Udalov f248e4a2ee Update CLI test data and Gradle option descriptions 2019-10-25 19:26:20 +02:00
Yan Zhulanow 68deedb589 Kapt: Register AP options as inputs in worker mode as it done with kotlinc compiler plugin mode
This commit fixes the 'KotlinAndroid32GradleIT.testKaptUsingApOptionProvidersAsNestedInputOutput()' test that started to fail after switching to the worker API mode by default.
2019-10-24 21:33:02 +09:00
Yan Zhulanow 958e6623fc Kapt: Enable worker API mode by default (KT-32832) 2019-10-24 21:33:02 +09:00
Ilya Goncharov d46510897b [Gradle, JS] Refactor and extract team city formatting in separate file 2019-10-24 15:00:31 +03:00
Ilya Goncharov 7f49caf503 [Gradle, JS] Depends node test on our own mocha reporter 2019-10-24 15:00:31 +03:00
Ilya Goncharov e69ff4363f [Gradle, JS] Copy mocha-teamcity-reporter with licensies 2019-10-24 15:00:31 +03:00
Ilya Goncharov 1ad8ecabfd [Gradle, JS] Fully copy of karma-teamcity-reporter (remove npm dependency on it) 2019-10-24 15:00:31 +03:00
Ilya Goncharov 0c911f4359 [Gradle, JS] Fix module.exports for adapter and modulization
- semicolon should be before Function expression, because in JS Standard there is no terminated semicolons
- If use output.libraryExport for Webpack, entry files for karma should export something

#KT-34554 fixed
#KT-34555 fixed
2019-10-24 14:58:57 +03:00
Ilya Goncharov 651dd363e3 [Gradle, JS] Add timeout property 2019-10-23 13:04:41 +03:00
Nikolay Krasko 4ed64b0283 Regenerate tests with TargetBackend.ANY remove and using runTest with this 2019-10-23 12:49:48 +03: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 Goncharov 6ddc05a5a8 [Gradle, JS] Fix for wildcard npm dependency version
#KT-34460 fixed
2019-10-21 17:37:07 +03:00