Commit Graph

4696 Commits

Author SHA1 Message Date
Ilya Chernikov 9d98c90881 Drop coroutines from compiler jar, add appropriate plugin dependency
#KT-30778 fixed
2020-05-24 19:03:42 +02:00
Abduqodiri Qurbonzoda f3145454f2 Decommonize collection builder implementations 2020-05-23 03:40:44 +03:00
Ilya Matveev eaa16714f6 [Gradle, native] Allow disabling warning about incorrect dependencies
Issue #KT-32476
2020-05-22 22:16:18 +07:00
Ilya Goncharov 104352b313 [Gradle, JS] Remove browser tests from gradle integration tests 2020-05-22 13:25:23 +03:00
Dmitriy Dolovov 4076bf40a9 [Commonizer] Add Gradle property to pass JVM args
^KT-39094
2020-05-22 12:07:37 +07:00
Ilya Chernikov c112d37ac1 Consolidate resolving in the new lib, deprecate it in script-util
also deprecate Import and CompileOptions annotations, because they
do not seem generic enough. Create specific copie in the main-kts
instead.
2020-05-21 16:49:57 +02:00
Ilya Chernikov 4b032a14af Refactor host configuration handling and script definition creation
so it is possible now to create custom host configuration with template
and all configurations are handled consistenly.
Also introduce and use new ScriptDefinition class wrapping compilation
and evaluation configurations, that could be consistenly created from a
template.
2020-05-21 16:49:55 +02:00
Ilya Goncharov 3c9207a2cd [Gradle, JS] Add test on local project dependency
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov 985623eac5 [Gradle, JS] Fix hmpp on only js
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov bed7b23d6c [Gradle, JS] Fix naming of test and test data
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov d089bbe14a [Gradle, JS] Fix for JsIrTarget in mixed mode
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov 79984b6e04 [Gradle, JS] Add test on hmpp with both js
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov a6812e5d6a [Gradle, JS] Add fake common usage context for single js plugin publish
#KT-38592 fixed
2020-05-21 17:36:33 +03:00
Ilya Goncharov 4f747072f4 [Gradle, JS] Define fake configuration for single js plugin to publish as common
#KT-38592 fixed
2020-05-21 17:36:32 +03:00
Ilya Goncharov 22f5d3b134 [Gradle, JS] Add isMpp property
#KT-38592 fixed
2020-05-21 17:36:32 +03:00
Ilya Matveev 8d77ec83c6 [Gradle, native] Don't set system properties when the compiler runs in daemon
Changing system properties during parallel in-process compiler
execution may cause data races (e.g. see KT-37362, KT-37442).

This commit abandons using system properties when the compiler
is executed in process.

Issue #KT-37550 fixed
2020-05-21 12:05:24 +00:00
Sergey Igushkin 38fd9c3d1a Fix KT-39063 by not adding extendsFrom with metadata configurations
Issue #KT-39063 Fixed
2020-05-20 14:31:36 +03:00
Dmitry Petrov fcf8a91a38 Update kotlin-stdlib-runtime-merged.txt 2020-05-20 07:19:29 +03:00
Ilya Gorbunov 143d8d1520 Minor: fix issue reference 2020-05-19 19:24:00 +03:00
Dmitry Borodin dd46d5ca5a Add sample for Map.flatMap 2020-05-19 19:24:00 +03:00
Dmitry Borodin 1a0b59da49 KT-20357 Add sortedBy() sample (#3283) 2020-05-19 19:21:21 +03:00
Ilya Matveev 8e3a62e5fd [Gradle] Get rid of java.library.path when running the K/N compiler
Issue #KT-37550
2020-05-19 18:57:37 +07:00
Segun Famisa d6a8003743 Add samples for String/CharSequence filter & filterNot (#3390)
* Add samples for String/CharSequence filter & filterNot
* Link samples to stdlib generator
2020-05-18 23:15:41 +03:00
Ilya Gorbunov 25f83e941c Fix sample reference for unsigned array range sort 2020-05-18 20:37:11 +03:00
Ilya Gorbunov c40c9a3d14 stdlib-gen: make 'sample' overwrite samples list instead of adding
It's more common for a function to have the single sample, and it's
more convenient to override it in `specialFor` blocks, rather than
to append another one.
2020-05-18 20:37:11 +03:00
Ilya Goncharov c6e23ffa3b [Gradle, JS] Move npm declarations to KotlinDependencyHandler
KT-38331
2020-05-18 17:41:49 +03:00
Ilya Goncharov 85fa1859b3 [Gradle, JS] Fix generateKotlinExternals for scoped without generating
KT-38331
2020-05-18 17:41:49 +03:00
Ilya Goncharov 8ac5ebac84 [Gradle, JS] Separate interface for directory dependency with externals
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 8565b77293 [Gradle, JS] Delegate instead inheritance
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 4a574b8e00 [Gradle, JS] Not input transitive dependencies to dukat
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 309d928ed6 [Gradle, JS] Quoted args
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 0e24b5aaa2 [Gradle, JS] Possible variants consider scope
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 0d9265388b [Gradle, JS] Add possible variants for generate kotlin variants
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov 5d74db51d7 [Gradle, JS] Fix message
KT-38331
2020-05-18 17:41:48 +03:00
Ilya Goncharov f4521ee4e4 [Gradle, JS] In case when default generate kotlin externals will be changed, nothing will be broken
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov 86c8986bd3 [Gradle, JS] throw exception if dependency forbid generate external
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov df38a669b8 [Gradle, JS] Fix vararg call
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov dcb961af19 [Gradle, JS] Support generateKotlinExternals option for Groovy
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov e8d10d45a9 [Gradle, JS] Add generateKotlinExternals option for root dependencies
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov 50e0e6ac06 [Gradle, JS] Add defaultGeneratedKotlinExternals to dependencies extensions
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov 830555aa8b [Gradle, JS] generateKotlinExternals option in dsl functions
KT-38331
2020-05-18 17:41:47 +03:00
Ilya Goncharov c20184ae08 [Gradle, JS] Add option for generate kotlin externals
KT-38331
2020-05-18 17:41:46 +03:00
Ilya Goncharov 53a5980d4c [Gradle, JS] Forbid create peer dependency with directory
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 4d32140f6f [Gradle, JS] Extract interface with directory dependency
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 52214e9093 [Gradle, JS] Add deprecation on npm with name only
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 3c0965802a [Gradle, JS] Extract name only npm dependency to separate interface
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 228e22b4cb [Gradle, JS] Update NPM dependency fail message for Groovy
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 5a348a4831 [Gradle, JS] Add dev dependency to test
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov efe70da594 [Gradle, JS] KotlinDependencyHandler extends from KotlinNpmDependencyHandler to provide these functions in interface
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 4fb1e4614d [Gradle, JS] Remove deprecated npm dependency with org
#KT-38683 fixed
#KT-38994 fixed
2020-05-18 17:41:45 +03:00