Yahor Berdnikau
440fc8c4e4
Deprecated 'kotlin.useCompilerFallbackSearch' property.
...
This property was introduced in 2018 and no longer supported.
See https://discuss.kotlinlang.org/t/how-to-set-usefallbackcompilersearch/9039
for details why it was introduced.
2021-02-15 12:43:22 +01:00
Yahor Berdnikau
069941cdaf
Provide compiler classpath as task input.
...
This ensures that compiler classpath is what is expected
by Kotlin Plugin and removes possibility of leaking wrong jars
from Gradle wrapper classpath.
For 'kotlin.useFallbackCompilerSearch' old behaviour is still present,
but this option should be marked as deprecated and removed in one
of the Kotlin releases.
2021-02-15 12:43:18 +01:00
Dmitriy Dolovov
0eaea655d0
[Commonization] Improvements in approx. keys
...
- Don't print upper bounds if it contains only kotlin/Any?
- Print variance in lowercase
2021-02-15 13:25:52 +03:00
Dmitriy Dolovov
3c6eb8f8f4
Minor. Formatted
2021-02-15 13:25:47 +03:00
Dmitriy Dolovov
0af31abb04
[Commonizer] Add tests for overloading purely by different upper bounds
2021-02-15 13:25:40 +03:00
Dmitriy Dolovov
90cdb9203f
[Commonizer] Fix integration tests: wrong mismatches filter
2021-02-15 13:25:34 +03:00
Dmitriy Dolovov
8a17de38d0
[Commonizer] Fix integration tests: serialize only own module contents
2021-02-15 13:25:28 +03:00
Dmitriy Dolovov
7f8f1dc4f8
[Commonizer] Calculate hash code by pure name in approximation keys
2021-02-15 13:25:22 +03:00
Mikhael Bogdanov
6ff5704ef9
Delete obsolete test
2021-02-15 11:24:10 +01:00
Mikhael Bogdanov
f493766563
Add IR tests to Android codegen test
2021-02-15 11:24:10 +01:00
Victor Petukhov
c0759f96e9
Fix FIR test lambdaParameterTypeInElvis
2021-02-15 12:59:07 +03:00
Yaroslav Chernyshev
8acf3b1d76
[Cocoapods] Fail import if project's version wasn't specified
...
#Fixed KT-44000
2021-02-15 12:39:40 +03:00
Victor Petukhov
c158c64ee0
Reformat TypeWithEnhancement.kt
2021-02-15 12:13:57 +03:00
Victor Petukhov
0d40022d6d
Add reporting of the warnings based on Java annotations for expanded type aliases
...
Before that, such warnings weren't reported as the corresponding errors were reported during type inference (only original types took part there)
2021-02-15 12:13:55 +03:00
Victor Petukhov
d783d99443
Use upper bound checker for typealias expansion
2021-02-15 12:13:53 +03:00
Victor Petukhov
edb8007d52
Add test for errors reporting of UPPER_BOUND_VIOLATED
2021-02-15 12:13:52 +03:00
Victor Petukhov
befe8599c4
Report warnings or errors for violated type parameter's upper bounds from Java annotated with nullability annotations
...
^KT-43262 Fixed
2021-02-15 12:13:50 +03:00
Dmitriy Novozhilov
cf4e61bebb
[FIR] Add spec diagnostic tests to [JPS] Fast FIR tests run configuration
2021-02-15 11:37:40 +03:00
Dmitriy Novozhilov
5711a8d610
[FIR] Support PreliminaryLoopVisitor in FIR DFA
2021-02-15 11:37:39 +03:00
Dmitriy Novozhilov
0e46a961a3
[FIR] Implement util Multimap classes
2021-02-15 11:37:39 +03:00
Dmitriy Novozhilov
67ad4249c8
[Test] Add FirDumpHandler to AbstractFirBlackBoxCodegenTest
...
This is needed to add ability to enable `FIR_DUMP` directive which
may be helpful in investigating bugs
2021-02-15 11:37:39 +03:00
Victor Petukhov
a94086224d
Clear request cache properly during disposing component
2021-02-15 11:13:11 +03:00
Victor Petukhov
6f64fd2fec
Propagate inference session into declaration analyzers
...
It prevents missing inference session for local declaration (local functions, local classes or objects)
^KT-44801 Fixed
2021-02-15 11:12:58 +03:00
Victor Petukhov
dae1f4c05d
Remove redundant extension receiver substitution during lambda's completion
2021-02-15 11:12:56 +03:00
Alexander Likhachev
b463a0fa58
[Gradle] Use property provider for configuration time only if available
2021-02-15 09:58:51 +03:00
Alexander Likhachev
683bd0ed38
[Gradle, JVM] Don't create deprecated compile/runtime configurations
...
Gradle also removes these configurations in 7.0. See gradle/gradle@2cb45cdbd0
#KT-44462 Fixed
2021-02-15 09:35:54 +03:00
Alexander Likhachev
ef458b20e1
[Gradle] Replace deprecated dependencies configurations in buildscript
2021-02-15 09:21:44 +03:00
Alexander Likhachev
c7427a751a
[Gradle, K/N] Add integration tests for framework artifacts
...
#KT-43556 Fixed
2021-02-15 09:21:44 +03:00
Alexander Likhachev
383b9834a1
[Gradle, K/N] Make BitcodeEmbeddingMode move backward compatible
2021-02-15 09:21:44 +03:00
Alexander Likhachev
cbeb031099
[Gradle, K/N] Move NativeBinaryTypes from kotlin-gradle-plugin to kotlin-gradle-plugin-api
2021-02-15 09:21:44 +03:00
Alexander Likhachev
a6cdfeafed
[Gradle, K/N] Consumable frameworks review fixes
2021-02-15 09:21:43 +03:00
Alexander Likhachev
604dda839a
[Gradle, K/N] Generate fat framework tasks and consumable configurations
2021-02-15 09:21:43 +03:00
Alexander Likhachev
d844296629
[Gradle, K/N] Add user-defined variant attributes to framework artifact
2021-02-15 09:21:43 +03:00
Alexander Likhachev
cbdcd8f2bc
[Gradle, K/N] Add consumable configuration with K/N frameworks
2021-02-15 09:21:42 +03:00
Alexander Likhachev
ba969410c2
[Gradle, JS] Make MultiplePluginDeclarationDetector compatible w/ conf cache
2021-02-15 09:21:42 +03:00
Alexander Likhachev
1cceec3642
[Gradle, JS] Postpone TeamCity project property read using 'by lazy'
...
Replace direct Gradle property access to provider usage. See https://docs.gradle.org/6.8.2/userguide/configuration_cache.html#config_cache:requirements:undeclared_gradle_prop_read
2021-02-15 09:21:42 +03:00
Alexander Likhachev
240fdfa7a8
[Gradle] Support multiple failures in KotlinTestReport back again
2021-02-15 09:21:42 +03:00
Alexander Likhachev
2b0ad70242
[Gradle, JS] Add integration test for js plugin configuration cache
...
#KT-42911 Fixed
2021-02-15 09:21:41 +03:00
Alexander Likhachev
a6bf9bf51b
[Gradle, JS] Remove workaround for configuration cache enabled builds
...
It's removed as those tasks now support Gradle configuration cache
2021-02-15 09:21:41 +03:00
Alexander Likhachev
432c6486d5
[Gradle] Make KotlinTest, KotlinTestReport partially cc-compatible
2021-02-15 09:21:41 +03:00
Alexander Likhachev
c7421e2bea
[Gradle, JS] Use FileSystemOperations only when it's available
...
FileSystemOperations is available since Gradle 6.0. ArchiveOperations usage is also refactored. Integration tests Gradle version requirements are reverted.
2021-02-15 09:21:41 +03:00
Alexander Likhachev
0e29a9df6c
[Gradle, JS] Use target disambiguation classifier for compilation name
2021-02-15 09:21:40 +03:00
Alexander Likhachev
6eac5e1907
[Gradle, JS] Tasks that uses ArchiveOperations compatible w/ Gradle < 6.6
2021-02-15 09:21:40 +03:00
Alexander Likhachev
15f6bb9506
[Gradle, JS] Make NodeJsSetup cc-compatible
2021-02-15 09:21:40 +03:00
Alexander Likhachev
daa9c81bcb
[Gradle, JS] Make KotlinJsDce, Dukat, KotlinPackageJson cc-compatible
2021-02-15 09:21:39 +03:00
Alexander Likhachev
da80d53796
[Gradle, JS] Make KotlinWebpack cc-compatible
2021-02-15 09:21:39 +03:00
Alexander Likhachev
65faf20472
[Gradle, JS] Make PublicPackageJsonTask cc-compatible
2021-02-15 09:21:39 +03:00
Ilya Goncharov
521b722c09
[Gradle, JS] Compilation to compilationName
2021-02-15 09:21:39 +03:00
Ilya Goncharov
4566b7c6e5
[Gradle, JS] rootPackageJson and kotlinNpmInstall cache-friendly
2021-02-15 09:21:38 +03:00
Ilya Goncharov
8c79baa998
[Gradle, JS] Partially rootPackageJson and kotlinNpmInstall with conf cache
2021-02-15 09:21:38 +03:00