Ilya Kirillov
8a4521864e
Wizard: use cache redirector on project importing tests
2020-06-04 12:00:42 +03:00
Ilya Kirillov
cce5a9a1ca
Wizard: download latest dev version for tests from bintray
2020-06-04 12:00:42 +03:00
Ilya Goncharov
74e4a817cb
[Gradle, JS] Fix test after changing type of IR link task on mode
2020-06-04 10:24:06 +03:00
Valeriy.Vyrva
c023a02884
Create SortedMap with Comparator and items
...
KT-34142
2020-06-04 02:04:22 +03:00
Sergey Igushkin
35b1bb05c8
Merge KT-MR-1260 from rr/gradle/igushkin/fix-kt-39304-unused-source-sets-failure
2020-06-03 14:32:53 +00:00
Ilya Goncharov
426f164e02
[Gradle, JS] Webpack on file providers for task configuration avoidance
2020-06-03 15:59:33 +03:00
Ilya Goncharov
01f3e4b083
[Gradle, JS] Make destinationDir as var
2020-06-03 15:59:33 +03:00
Ilya Goncharov
402dfd5da7
[Gradle, JS] Use RegularFile to not explicit dependsOn
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:33 +03:00
Ilya Goncharov
e27bd04ba2
[Gradle, JS] Add dependency on dce task
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d3260bca27
[Gradle, JS] JsBinaryType to KotlinJsBinaryType
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d27ad99daa
[Gradle, JS] KotlinJsType to KotlinJsMode
2020-06-03 15:59:32 +03:00
Ilya Goncharov
a5e46568ee
[Gradle, JS] Move common part of webpack configuration to separate fun
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:32 +03:00
Ilya Goncharov
ef63d6f84c
[Gradle, JS] Add resolveFromModulesFirst to build tasks
2020-06-03 15:59:32 +03:00
Ilya Goncharov
d4d8495840
[Gradle, JS] Use property for webpack entry
2020-06-03 15:59:32 +03:00
Ilya Goncharov
65db6bb2a5
[Gradle, JS] Add dce to development
...
^KT-32273 fixed
^KT-36451 fixed
^KT-37258 fixed
2020-06-03 15:59:31 +03:00
Ilya Goncharov
9d8eb65a5e
[Gradle, JS] Use API form Gradle 5.0
2020-06-03 15:59:31 +03:00
Henrik Tunedal
71da941c8b
Use system-specific user cache directory in main-kts
...
#KT-38222 fixed
2020-06-03 11:11:33 +02:00
Henrik Tunedal
8f80cf5664
Improve hashing of script files
2020-06-03 11:11:30 +02:00
Ilya Goncharov
890da492fb
[Gradle, JS] Fix grammar in methods for JS import
2020-06-03 12:04:20 +03:00
Ilya Goncharov
bc4d7e0020
[Gradle, JS] Fix grammar on comment
2020-06-03 12:04:20 +03:00
Ilya Gorbunov
e2c3455445
Document NaN propagation in top-level minOf/maxOf functions
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
d19f9ee0c5
Simplify min/max implementation
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
b4ba00ca36
Document and test NaN propagation of maxOf/minOf
...
Also simplify minOf/maxOf implementations
#KT-38708
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
7b68de38e1
Introduce minOf/maxOf, minOfWith/maxOfWith and their OrNull variants
...
#KT-38708 Fixed
2020-06-02 19:01:44 +03:00
Ilya Gorbunov
6a24becd1d
Introduce sumOf with various selector types
...
#KT-11253
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
bdd53ee9cd
Introduce new overloads of flatMap and flatMapTo
...
- Sequence<T>.flatMap((T) -> Iterable<R>)
- Iterable<T>.flatMap((T) -> Sequence<R>)
- Array<T>.flatMap((T) -> Sequence<R>)
- Map.flatMap((Entry) -> Sequence<R>)
KT-34506
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
562788ceb9
stdlib-gen: allow template function sequences
2020-06-02 19:01:43 +03:00
Ilya Gorbunov
79afc4f72b
stdlib-gen: avoid placing exact duplicates of annotations
2020-06-02 19:01:43 +03:00
Ilya Goncharov
83e17cbf09
[Gradle, JS] Use name of target, not name of preset
2020-06-02 14:42:54 +03:00
Ilya Goncharov
b68715441f
[Gradle, JS] Remove redundant fixing names
...
- in case when target name is `jsLegacy` with enabled both mode, we should get `jsLegacyMain` and `jsLegacyTest`, and Gradle plugin creates targets `jsLegacyLegacy` and `jsLegacyIr`, schema is name+suffix where name can be any, KotlinJsTargetPreset's name is name+`Both` so in KotlinJsTargetPreset in `both` case we need remove only `Both` suffix
#KT-39213 Fixed
2020-06-02 12:52:13 +03:00
Andrey Uskov
44f16eac2e
Fixed resolution of dependencies on js libraries compiled in both mode
...
#KT-39213 Fixed
2020-06-02 12:52:13 +03:00
nataliya.valtman
d6cb469e66
use Gradle 5.6 for tests with android build tool 28.0.3
2020-06-02 11:26:56 +03:00
Konstantin Tskhovrebov
94a4aacd9e
Move commonizer to gradle task and attach to lazy file collection.
2020-06-02 11:03:51 +03:00
Sergey Igushkin
f7ed3139ab
Fix unused source sets missing in compilationsBySourceSets (KT-39304)
...
Issue #KT-39304 Fixed
2020-06-02 00:48:55 +03:00
Mikhail Zarechenskiy
0ab9b3639b
Approximate types for lambda literals before serialization
2020-05-31 17:38:18 +03:00
Ilya Goncharov
a41b746774
Revert "[Gradle, JS] Output file path as input fo js compile task"
...
This reverts commit df173c8c
2020-05-29 19:39:17 +03:00
Ilya Goncharov
df173c8c93
[Gradle, JS] Output file path as input fo js compile task
...
^KT-38676 fixed
2020-05-29 17:37:00 +03:00
Ilya Goncharov
bb9e8a8a50
[Gradle, JS] Fix warning message with new line
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:20:10 +03:00
Ilya Goncharov
1b841adfff
[Gradle, JS] Fix param name
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:20:00 +03:00
Ilya Goncharov
9fd211cfcd
[Gradle, JS] Manually singleton because Gradle Daemon
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:19:44 +03:00
Ilya Goncharov
59c2bc25d5
[Gradle, JS] Detect multiple plugins for NodeJsRootPlugin and YarnPlugin
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:19:27 +03:00
Ilya Goncharov
39869f009e
[Gradle, JS] Throw error in JS part when plugins goes from different classloaders
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:19:13 +03:00
Ilya Goncharov
2e39c1164d
Move detecting of multiple kotlin plugins into extract class
...
^KT-39210 fixed
^KT-31669 fixed
2020-05-29 17:18:57 +03:00
Dmitry Petrov
5db6a0b563
New mangling rules require language version 1.4 (not compiler version)
...
Follow-up to a270ee094c
2020-05-29 15:15:54 +03:00
nataliya.valtman
ff06e60a06
Revert "run for 28.0.2"
...
This reverts commit 86d52d41
2020-05-29 10:09:50 +03:00
nataliya.valtman
86d52d4123
run for 28.0.2
2020-05-29 10:07:34 +03:00
Ilya Gorbunov
23414496c4
Annotation to enable overload resolution by lambda return type
...
#KT-38480
2020-05-29 09:36:32 +03:00
Ilya Gorbunov
f243b8946f
Restore testOmittedStdlibVersion originally added in commit 15feeddc
2020-05-29 04:10:17 +03:00
Ilya Gorbunov
d47981f07b
Drop gradle ITs depending on AGP versions below 3.2
...
AGP of these versions cannot handle module-info class included in
kotlin-stdlib artifact from now on.
2020-05-29 04:10:17 +03:00
Dmitry Petrov
94509bdb4e
KT-39228 Fix inliner when latest 1.4 compiler used with 1.3 stdlib
...
Since 1.4.0-dev-8774, we mangle functions returning inline class values,
including functions with return type 'kotlin.Result'. This causes
incompatibility when 1.4 compiler is used with 1.3 (or just some
pre-1.4.0-dev-8774) standard library.
Also, write "message from the future" on functions returning inline
class values indicating that they can be used since compiler version 1.4
(otherwise 1.3 compiler using 1.4 stdlib would fail to find some
@InlineOnly functions such as 'Result.success' and 'Result.failure').
2020-05-29 00:53:00 +03:00