Ilya Goncharov
2d068a42f4
[Gradle, JS] Use common isMain for KotlinCompilation
2020-06-10 14:48:29 +03:00
Ilya Goncharov
fdbdc5aac7
[Gradle, JS] Fix error message for both executable
2020-06-10 11:26:22 +03:00
Vladimir Dolzhenko
3817f7f044
Fixed GenerateKotlinpTests compilation
...
Relates to #KTI-17
2020-06-09 09:03:35 +02:00
Abduqodiri Qurbonzoda
820353ee0e
Promote scanReduce deprecation level to error
2020-06-07 10:05:40 +03:00
Abduqodiri Qurbonzoda
4e820edd1f
Promote randomOrNull, reduceOrNull, scan to stable
2020-06-07 10:05:38 +03:00
Abduqodiri Qurbonzoda
094dbf4c2d
Remove experimental status from Array.associateWith
2020-06-07 10:05:36 +03:00
Ilya Chernikov
5e33612238
Extract interface from CompilerMessageLocation to ease extension
...
The CompilerMessageLocation is an implicit part of the binary daemon
protocol so changing it breaks compatibility with older daemons.
This change allows to extend location for non-daemon uses without
breaking the binary protocol.
2020-06-05 21:58:27 +02:00
Ilya Goncharov
80a310540e
[Gradle, JS]Remove failed on variant aware resolution tests on kotlin2js
...
Because kotlin2js is deprecated, it is not actual to support tests which are failed because changes in Gradle.
Seems kotlin2js doesn't and didn't and work with Gradle > 5.3
2020-06-05 10:50:08 +03:00
Vyacheslav Karpukhin
6d6a228057
Android import: binary-compatible setting of the BuildType attribute
2020-06-04 20:57:54 +02:00
Vyacheslav Karpukhin
39a3f5e7d9
Android import: better value source for BuildTypeAttr
2020-06-04 20:57:54 +02:00
Vyacheslav Karpukhin
1f638f52d5
Android import: setting BuildType attribute for kotlin android compilations
2020-06-04 20:57:54 +02:00
Sergey Igushkin
e4e70f1b5b
VariantAwareDependenciesIT.kt: remove compile/runtime/... configurations
2020-06-04 20:42:12 +03:00
Sergey Igushkin
52b29b53bc
Fixup BuildCacheRelocationIT: Gradle 5.6.1 -> 5.6.4 (AGP requirement)
2020-06-04 17:53:15 +03:00
Ilya Goncharov
c5aa35e016
[Gradle, JS] All regular text printed to DEBUG
2020-06-04 15:02:56 +03:00
Ilya Goncharov
97e4d23d75
[Gradle, JS] Filter warning with source maps
...
#KT-39377 fixed
2020-06-04 15:02:54 +03:00
Ilya Goncharov
69b9a2e98a
[Gradle, JS] Remove trailing commas from webpack config
...
#KT-39377 fixed
2020-06-04 15:02:39 +03:00
Ilya Goncharov
4bbead6200
[Gradle, JS] Remove custom source-map-loader
...
#KT-39377 fixed
2020-06-04 15:02:12 +03:00
Sergey Igushkin
603bae398f
Fix BuildCacheIT and BuildCacheRelocationIT
...
* Adjust the log checks for newer Gradle versions
* Use AGP 3.6.0 and Gradle 5.6.1 as the older version
2020-06-04 10:41:25 +00:00
Dmitry Petrov
de25359a90
Fix stdlib compilation after updated @JvmName check
...
Previously, extension receiver type was not taken into account when
checking for @JvmName annotation applicability to possibly mangled
functions (such functions, however, were mangled).
This bug was fixed, but, unfortunately, not before such functions were
added to stdlib ('sumOf' family).
2020-06-04 12:16:28 +03:00
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