Alexander Udalov
f273edeb8e
Build: upgrade language to 1.3 in cli, compiler plugins and Gradle plugin
...
The language/API version restriction here is to make sure the code works
with Gradle of earlier versions, but all versions of Gradle that we
support already depend on Kotlin 1.3+.
2020-09-22 19:10:58 +02:00
Ilya Goncharov
16b2379cd7
[Gradle, JS] Use new npm versions
2020-09-22 16:57:21 +03:00
Ilya Goncharov
9f9cb4f57e
[Gradle, JS] Parallelize requests
2020-09-22 16:57:21 +03:00
Ilya Goncharov
a86dd8b5ba
[Gradle, JS] Refactor with coroutines
2020-09-22 16:57:21 +03:00
Ilya Goncharov
4986e8c9cc
[Gradle, JS] Fetch NPM package versions in separate module
2020-09-22 16:57:21 +03:00
Ilya Goncharov
db90c9cc88
[Gradle, JS] Move from NpmVersions
2020-09-22 16:57:21 +03:00
Andrey Uskov
c9054e7a04
Added possibility to split gradle-integration-tests locally
...
Added property `gradle.integration.tests.split.tasks` for splitting
gradle-integration-tests into several tasks locally (like it happens
at TeamCity)
2020-09-21 13:34:32 +03:00
Andrey Uskov
d151f0e573
Fixed splitting gradle tests into different tasks
2020-09-21 13:34:25 +03:00
Dmitry Savvinov
769c741d87
Revert "Pack jvm builtins into kotlin-stdlib shipped with idea plugin"
...
This reverts commit 0b5aedb0a2 .
2020-09-18 17:30:44 +03:00
Ilya Gorbunov
0b5aedb0a2
Pack jvm builtins into kotlin-stdlib shipped with idea plugin
...
This lessens the possibility that kotlin plugin will get different
variants of builtins in the classpath, thus making builtins resources
loading less order-dependent.
2020-09-18 15:11:45 +03:00
Ilya Kirillov
ca3b327592
Wizard: add missing jvm target version for tests in Groovy DSL
...
#KT-41958 fixed
2020-09-17 00:29:48 +03:00
Ilya Kirillov
ee2f0f45fc
Wizard: ignore Kotlin repo in tests
...
They may differ sometimes as they depend on the latest Kotlin release
2020-09-17 00:29:47 +03:00
Abduqodiri Qurbonzoda
36e6247125
Add more details about bit shift operations #KT-41112
2020-09-16 04:05:12 +03:00
Abduqodiri Qurbonzoda
1c0ac850e8
Incorrect documentation for rangeTo function #KT-41356
2020-09-16 04:05:12 +03:00
Alexander Udalov
fb183ec3f8
Never use JVM IR to compile coroutines-experimental
...
JVM IR backend doesn't support old coroutines, so we disable it via
-Xno-use-ir, just as for the main source set. This option has no effect
for the current master builds, but will be necessary once JVM IR is
enabled project-wide.
2020-09-15 19:59:14 +02:00
Ivan Gavrilovic
7c360c0068
Kotlin Gradle plugin - use build service to share incremental compilation info
...
For large projects, incremental comilation mapping information may be quite
large. With configuration caching enabled, each task gets its own copy of that
state, and for a project with 1400 subprojects, this resulted in 3.6GB of additional
state stored (once task graph is cached).
This change introduces IncrementalModuleInfoProvider which allows build service
to be used if configuration caching is enabled, and it falls back to static
constant otherwise.
2020-09-15 15:19:56 +03:00
Sergey Bogolepov
5a0a853d9b
[Native] Add simple symbol mechanism to konan.properties
...
Java Properties format is extremely trivial and does not support any
kind of references or variables. It makes konan.properties repetitive.
This commits adds support of perl-like `$` sigil which allows to
reference properties inside values.
2020-09-15 13:54:09 +07:00
Ivan Gavrilovic
162dc3aa0c
KT-41295: Friend paths and compiler options compatible with conf caching
...
This change fixes serialization of friend paths and it uses
a file collection to record all friend paths. Also, when
computing the tested classpath for android projects, we now avoid
resolving the file collection until necessary.
Fixes: KT-41295
Test: ConfigurationCacheForAndroidIT
2020-09-14 13:31:52 +03:00
Andrey Uskov
bf3a7e5fea
Add more tasks in Gradle build for running GradleIT in parallel
2020-09-13 22:48:12 +03:00
Ilya Gorbunov
349cad7b9a
Minor: migrate remaining scanReduceIndexed usages
2020-09-11 19:08:04 +03:00
Louis CAD
64408c19f8
Add missing "The" article in kotlin.test doc
2020-09-11 18:20:37 +03:00
Dmitriy Novozhilov
07a3009d43
Introduce new modules for common parts of deserialization
2020-09-11 10:08:37 +03:00
Alexander Udalov
ae9c1af883
Do not use erroneous unsigned/signed comparison in UnsignedArraysTest
...
The error SIGNED_CONSTANT_CONVERTED_TO_UNSIGNED is suppressed in this
file, and JVM IR is not able to generate comparisons of UInt and Long
(KT-41780).
2020-09-10 19:27:09 +02:00
Ilya Goncharov
2c4c8cdf01
[Wizard] Update versions in wizard
2020-09-10 19:25:26 +03:00
Kirill Shmakov
60b812f452
Reorder arguments in KotlinNativeTest for better debug
...
Previously it was broken on Linux and worked poorly on macOS
2020-09-10 16:07:28 +03:00
Andrey Uskov
05d3e48564
Implemented collecting statistics about JS target mode
2020-09-10 00:39:27 +03:00
Ilya Goncharov
4716228500
Add js generate executable default collecting statistics
...
#KT-40462 Fixed
2020-09-10 00:39:24 +03:00
Ilya Goncharov
405e271b68
Add js generate externals collecting statistics
...
#KT-39995 Fixed
2020-09-10 00:39:20 +03:00
Ilya Goncharov
668098f3a8
[Gradle, JS] Add simple files without kotlinx.html
...
^KT-41696 fixed
2020-09-09 17:24:08 +03:00
Ilya Kirillov
3a6011fae9
Wizard: always generate android MPP tests
...
#KT-40940 fixed
2020-09-09 00:20:57 +03:00
Ilya Kirillov
553c525701
Wizard: fix Gradle buildscript formatting
...
#KT-37965 fixed
2020-09-09 00:20:57 +03:00
Ilya Kirillov
0f799d593d
Wizard: specify test platform to use on JVM
...
#KT-37965 fixed
2020-09-09 00:20:57 +03:00
Ilya Goncharov
9d3426486b
[Gradle, JS] Support explicitApi in js plugin
...
^KT-41328 fixed
2020-09-08 12:54:11 +03:00
Ilya Goncharov
20a1ea0413
[Wizard, JS] Change js compiler default
...
^KT-41656 fixed
2020-09-08 12:48:52 +03:00
Ilya Goncharov
985088a3f1
[Gradle, JS] Add test on dukat with both mode
2020-09-07 19:29:17 +03:00
Ilya Goncharov
b694e3b009
[Gradle, JS] Dukat with both create externals only once
2020-09-07 19:29:17 +03:00
Ilya Goncharov
210cd982f0
[Gradle, JS] Use webpack config's required dependencies in karma
...
^KT-41663 fixed
^KT-41662 fixed
2020-09-07 18:56:47 +03:00
Dmitriy Novozhilov
564d382b9d
Introduce new modules for common jvm related parts of compiler
2020-09-04 11:07:40 +03:00
Ilya Goncharov
88755a8d20
[Gradle, JS] Use npm project dir as executable
...
^KT-40812 fixed
2020-09-03 18:31:56 +03:00
Ilya Goncharov
9f27bc62c0
[Gradle, JS] Args should concat after input file
...
^KT-41286 fixed
2020-09-01 19:15:13 +03:00
Ilya Goncharov
b9bc11d5e0
[Gradle, JS] Consider custom launcher's base
...
^KT-41475 fixed
2020-09-01 17:47:25 +03:00
Ilya Goncharov
7fe02238ea
[Gradle, JS] Add more information on Gradle exception
...
^KT-41566 fixed
2020-09-01 17:26:02 +03:00
Ilya Goncharov
076045ce54
[Gradle, JS] Add test with library mixed with executable and browser/nodejs
...
^KT-41566 fixed
2020-09-01 17:26:02 +03:00
Ilya Goncharov
d238483054
[Gradle, JS] Add test with library mixed with executable
...
^KT-41566 fixed
2020-09-01 17:26:02 +03:00
Ilya Goncharov
4a1bccc1e6
[Gradle, JS] Add test on simple js binary library
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
9f04d353a0
[Gradle, JS] Fix test for IR browser distribution
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
134aa6182e
[Gradle, JS] Process resources into kotlin folder
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
06a54c87a0
[Gradle, JS] Compile sync tasks
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
9729554313
[Gradle, JS] Node run task for all binaries
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
7dbde459f0
[Gradle, JS] Run task for library
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00