Ilya Goncharov
b385650bf0
[Gradle, JS] Use patch only for webpack 5
...
^KT-45621 fixed
2021-03-24 15:17:12 +03:00
Ilya Goncharov
4107378d2c
[Gradle, JS] Add workaround for debugging with webpack 5
...
^KT-45621 fixed
2021-03-24 15:17:11 +03:00
Ilya Goncharov
fef1892219
[Gradle, JS] Changed API for warnings filter in Webpack 5
...
^KT-45621 fixed
2021-03-24 15:17:10 +03:00
Ilya Goncharov
a113df8c43
[Gradle, JS] Use karma 6.0 API to set ping timeout
...
^KT-45621 fixed
2021-03-24 15:17:09 +03:00
Ilya Goncharov
f318951b64
[Gradle, JS] Fix packages with hardcoded display name
...
^KT-45621 fixed
2021-03-24 15:17:07 +03:00
Dmitriy Novozhilov
ee7c90791e
Add workaround for KT-45553
...
This is needed to compile this code with FIR
2021-03-24 12:56:14 +03:00
Dmitriy Dolovov
9aa16faa27
Test integer overflow on div/rem of Int.MIN_VALUE by -1
...
^KT-45136
2021-03-24 09:55:52 +03:00
Yahor Berdnikau
d46ad6c0ad
Fix kapt creates output directories on configuration phase.
...
Gradle will create such directories itself. Also it should fix build
cache issue with kapt tasks - build cache was disabled
due to the 'overlapping outputs'.
^KT-45532 Fixed
2021-03-23 15:20:35 +03:00
hungvietnguyen
7c4225b9d1
[Kapt] Ensure flag names and default values are consistent
...
Group flag names and default values in one place to make the code easier
to read and prevent mistakes and inconsistencies.
2021-03-23 10:41:28 +03:00
Vyacheslav Karpukhin
499ffd610a
AndroidDependencyResolver: codestyle fixes after review
2021-03-22 22:29:12 +01:00
Vyacheslav Karpukhin
ac8d135a21
AndroidDependencyResolver:
...
1. Correctly process project dependencies
2. Don't include variant-specific dependencies into more generic sourcesets
2021-03-22 22:29:12 +01:00
Yahor Berdnikau
6473d2a7c8
Bump advanced Gradle version to 7.0-milestone-3.
...
Fixed test setup that causes test failures.
^KT-44949 In Progress
2021-03-22 17:02:27 +03:00
Ivan Gavrilovic
093c8bfbb6
Register KAPT incremental apt cache as local state
...
This is so that incremental caches are removed on
non-incremental task run.
2021-03-22 15:59:20 +03:00
Svyatoslav Scherbina
8b3ff11a2b
Provide CName annotation in common stdlib as optional
2021-03-22 09:20:05 +00:00
Svyatoslav Scherbina
552bd108a9
stdlib: rename NativeAnnotationsH.kt -> NativeConcurrentAnnotations.kt
...
Also move it from libraries/stdlib/common/src/kotlin
to libraries/stdlib/src/kotlin/annotations
2021-03-22 09:20:05 +00:00
Alexander Udalov
415d52fe54
Deprecate KotlinJvmOptions.useIR
...
Starting from language version 1.5, JVM IR is enabled by default, so
this option has no effect. To rollback to the old JVM backend, the new
option useOldBackend can be used.
#KT-45504 Fixed
2021-03-19 14:57:55 +01:00
Alexander Udalov
a10ebcea51
Minor, add -Xopt-in=kotlin.RequiresOptIn to kotlin-test-js
...
To prevent compilation warning on usages of OptIn in new
assertContentEquals functions.
2021-03-19 14:56:37 +01:00
Anastasiya Shadrina
94c4d1c23e
Specify when the range is empty in KDoc
2021-03-19 20:40:06 +07:00
Alexander Likhachev
008e2636b7
[Gradle] Prevent early capturing of project build dir in KotlinCompile
...
#KT-45301 Fixed
2021-03-18 19:51:08 +00:00
Ilya Gorbunov
42648d55a0
kotlin-test: make assertIs<T> returning value cast to T KT-45296
2021-03-18 21:57:16 +03:00
Ilya Goncharov
2fd8620551
[Gradle, JS] Support custom display name in npm versions generator
...
^KT-42921 fixed
2021-03-18 21:32:15 +03:00
Ilya Goncharov
a291895ebe
[Gradle, JS] Add compatibility with webpack 4
...
^KT-42921 fixed
2021-03-18 21:32:14 +03:00
Ilya Goncharov
a1a01a1428
[Gradle, JS] Use compatible node version
...
^KT-42921 fixed
2021-03-18 21:32:12 +03:00
Ilya Goncharov
b2a2616c10
[Gradle, JS] Fix of using format-util
...
^KT-42921 fixed
2021-03-18 21:32:11 +03:00
Ilya Goncharov
965426bbd9
[Gradle, JS] Webpack serve for webpack-dev-server
...
^KT-42921 fixed
2021-03-18 21:32:10 +03:00
Ilya Goncharov
5827ed3f05
[Gradle, JS] Update versions with karma-webpack 5.0.0
...
^KT-42921 fixed
2021-03-18 21:32:08 +03:00
Ilya Goncharov
1b8c74337e
[Gradle, JS] Adopt Gradle plugin to webpack 5
...
^KT-42921 fixed
2021-03-18 21:32:07 +03:00
Ilya Goncharov
a06feaf819
Add possibility to hardcode version
...
^KT-42921 fixed
2021-03-18 21:32:05 +03:00
Ilya Goncharov
a61312120b
[Gradle, JS] WA for tests with multiple binaries
2021-03-18 20:07:48 +03:00
Ilya Goncharov
8ffe70cb4d
[Gradle, JS] Use one folder for sync tasks
2021-03-18 20:07:47 +03:00
Ivan Gavrilovic
875ef73371
KT-45519: Get AGP version only once per classloader
...
Memoize AGP version per classloader, instead of computing
it once per project.
Fixes #KT-45519
2021-03-18 12:08:04 +03:00
Alexander Udalov
27174de891
Add JVM target bytecode version 16
...
#KT-45515 Fixed
2021-03-17 21:31:08 +01:00
Ilya Gorbunov
85a0538f0a
Compile and run common tests of kotlin-test in kotlin-test-js-ir build
2021-03-17 17:53:54 +03:00
Ilya Gorbunov
e66eeefe2a
kotlin-test: assertIs and assertIsNot KT-45296
...
- Rename assertNotIs to assertIsNot
- Extract parts of implementation to helper internal PublishedApi
functions in order to inline minimum amount of code at use sites
- Remove PublishedApi from messagePrefix, no longer needed
2021-03-17 17:53:54 +03:00
Ben Asher
3a0219d84c
kotlin-test: add assertIs and assertNotIs assertions KT-45296
2021-03-17 17:53:54 +03:00
sebastian.sellmair
f4b840467f
CommonizerIT: Mark Windows as non-executable target
2021-03-17 10:55:46 +00:00
Dmitriy Dolovov
fc4f66b702
[Commonizer] Change the main package name
...
org.jetbrains.kotlin.descriptors.commonizer -> org.jetbrains.kotlin.commonizer
2021-03-17 13:34:06 +03:00
Andrey
b7dc1e64b1
[KAPT] Disable JPMS when running annotation processing
...
If sources contain module-info.java javac tries to validate modules existence/visibility during AP phase and fails, because we don't specify modules-path/patch-module. All these checks will be done in kotlin compiler and in javac for java classes. And it is not necessary to do it in AP too.
So we go for easiest path possible - disable jpms for AP.
#KT-32202 Fixed
2021-03-17 11:10:27 +03:00
Nikolay Krasko
aff25b3666
Remove jcenter usages
2021-03-16 22:24:10 +03:00
sebastian.sellmair
f6e8afcbcc
Move Gradle property 'kotlin.commonizer.jvmArgs' to 'kotlin.mpp.commonizerJvmArgs'
2021-03-16 15:47:27 +00:00
sebastian.sellmair
56661068bd
CommonizerIT: Reuse DISABLED_NATIVE_TARGETS_REPORTER_WARNING_PREFIX instead of hardcoded string
2021-03-16 15:47:26 +00:00
sebastian.sellmair
5a10cb6a3e
CommonizerIT: Add integration tests for user defined c-interop commonization
2021-03-16 15:47:25 +00:00
sebastian.sellmair
97a57a7d93
Forward dependencies from CInteropCommonizerTask to commonizer
2021-03-16 15:47:23 +00:00
sebastian.sellmair
49cf386258
Limit CInteropCommonizerTask to only one level of commonization
...
See ^KT-39324
2021-03-16 15:47:23 +00:00
sebastian.sellmair
261934d881
Implement CopyCommonizeCInteropForIdeTask to survive build folder cleaning
2021-03-16 15:47:22 +00:00
sebastian.sellmair
a53df56781
Implement CInteropIdentifier.Scope
2021-03-16 15:47:21 +00:00
sebastian.sellmair
6efd04edc0
Implement CInteropCommonizerTask to support commonization of user-defined cinterops
...
^KT-40975 Verification Pending
2021-03-16 15:47:20 +00:00
sebastian.sellmair
7cf8e9ec58
CInteropProcess: Promote settings to constructor
...
This enforces that the specified c-interop settings cannot be re-set on
a CInteropProcess.
2021-03-16 15:47:20 +00:00
sebastian.sellmair
be84b7b419
Rename 'getSourceSetHierarchy' to 'withAllDependsOnSourceSets' and lift the previous Deprecation
2021-03-16 15:47:19 +00:00
sebastian.sellmair
7da7dd92d6
Deprecate KotlinSourceSet.getSourceSetHierarchy in favour of 'resolveAllDependsOnSourceSets' and general purpose 'transitiveClosure'
2021-03-16 15:47:18 +00:00