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
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
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 Likhachev
008e2636b7
[Gradle] Prevent early capturing of project build dir in KotlinCompile
...
#KT-45301 Fixed
2021-03-18 19:51:08 +00: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
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
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
Nikolay Krasko
da6440c59e
Add heap-dumps collection to BaseGradleIT.kt for TC investigations
...
Disable in daemon tests that checks defaults of -XX:MaxMetaspaceSize as
it looks like settings any jvm options reset defaults.
2021-03-16 15:55:01 +03:00
Nikolay Krasko
48f2db51d2
Stop polluting output for successful Gradle tests
2021-03-16 15:55:00 +03:00
Alexander Udalov
fc36178f3a
Annotate kotlin.reflect.jvm.reflect with ExperimentalReflectionOnLambdas
...
This function was always experimental, as explained in its kdoc, but it
was introduced before opt-in requirement markers were supported. Thus,
breaking changes (such as in KT-42746) were always expected, and the
`@ExperimentalReflectionOnLambdas` annotation just makes it clearer.
#KT-45486 Fixed
2021-03-15 15:54:31 +01:00
Andrey Uskov
9c000000cf
Update Gradle verion in tests from 6.1 to 6.1.1
...
Gradle 6.1 is not suitable for testing because of memory leak on
artefact validation (https://github.com/gradle/gradle/issues/11966 )
2021-03-15 12:28:08 +03:00
Andrey
fe6ddcc1fa
[KAPT] Skip kapt tasks if no annotations processors are provided ( #4190 )
...
So we don't do any preparation, don't spin up compiler. And user will see SKIPPED in task execution
2021-03-15 11:37:06 +03:00
Anton Lakotka
d023f09bd4
Don't add common compiler plugin artifacts to native targets
...
Make native plugin configuration be non-transitive
2021-03-12 18:28:26 +03:00
Alexander Likhachev
6b774b07e0
[Gradle, K/N] Fix broken iOS, watchOS, tvOS tests
...
They were broken in 2a8e2613a2
2021-03-12 16:36:18 +03:00
Alexander Likhachev
aedd8a104d
[Gradle, K/N] Fix native test execution test on Macs
2021-03-12 15:56:03 +03:00
Abduqodiri Qurbonzoda
ff5b2404af
Introduce firstNotNullOf and firstNotNullOfOrNull #KT-12109
2021-03-12 09:27:14 +03:00
Abduqodiri Qurbonzoda
09ad5ca602
Strict version of String.toBoolean() #KT-42071
2021-03-12 09:26:55 +03:00
Anton Lakotka
99ce047733
Add separate Plugin Classpaths per compilation
...
Make them extend the common CP for sake of backward compatibility
^KT-45020 Fixed
2021-03-11 22:34:21 +01:00