Yahor Berdnikau
d7ae7ca911
Ensure all test tasks is finalized by 'cleanTestKitCacheTask' on CI.
...
^KT-45745 In Progress
2021-10-29 17:34:00 +02:00
Yahor Berdnikau
c25d243111
Add 'kgpOtherTests' task.
...
This will run tests for all support plugins, such kapt, allopen, etc...
^KT-45745 In Progress
2021-10-29 17:34:00 +02:00
Svyatoslav Kuzmich
5b10396f48
[stdlib] Test that modification of the array returned by toCharArray() doesn't affect the original string
2021-10-28 15:49:00 +00:00
Svyatoslav Kuzmich
766377a041
[Wasm] Remove WasmForeign annotation
...
No longer needed since external interfaces are supported
2021-10-28 18:47:38 +03:00
Alexander Dudinsky
f8dd1b3512
Fix Gradle Integration Tests MPP and Android on MacOS
2021-10-28 11:34:06 +03:00
Mikhail Glukhikh
8bd0b237b7
Convert EXPOSED_PROPERTY_TYPE_IN_CONSTRUCTOR into deprecation error
...
#KT-28078 Fixed
2021-10-27 19:43:01 +03:00
Ivan Gavrilovic
3e1cf77f54
Kotlin Gradle Plugin integration tests - ensure Android sdk...
...
... licenses are accepted before running the test build.
2021-10-27 16:41:51 +03:00
Dmitriy Novozhilov
f26059a7d3
[FE] Add clear warning about future changes about nullability of safe call with non nullable receiver
...
^KT-46860
2021-10-27 16:28:37 +03:00
Nikolay Krasko
36c4938172
Add version to kotlin-reflect-stripped jar
2021-10-27 11:04:41 +03:00
Nikolay Krasko
d348efa4c1
Do not pack proguard and stripped jars for kotlin-reflect into compiler zip
...
kotlin-reflect-proguard.jar has different timestamps and shows
difference on each build for the same sources.
The problem was introduced after migrating to Gradle 7.1 where
`libsDir` parameter was removed (https://docs.gradle.org/current/userguide/upgrading_version_6.html#removal_of_basepluginconvention_libsdir_and_basepluginconvention_distsdir ).
After that the same variable started to be resolved to `dist` directory.
So this commit reverts the old behaviour.
^KTI-672 Fixed
2021-10-27 11:04:40 +03:00
Alexander Likhachev
2f19ff008f
[Gradle] Migrate Kotlin/JS tests to the new test DSL
...
#KT-45745 In Progress
2021-10-26 20:21:15 +03:00
Starlight220
e77f72071d
migrate KmValueParameter.type (KmType? -> lateinit KmType)
2021-10-26 18:21:38 +02:00
Ilya Gorbunov
4e6243c4f7
Restore useIR Gradle option as HIDDEN (KT-45504)
...
This will allow to KEEP binary compatibility with
the Compose plugin 1.0.1 for a bit longer
Merge-request: KT-MR-4857
2021-10-26 15:37:31 +00:00
Yahor Berdnikau
98791000bf
Add @GradleWithJdkTest annotation.
...
Adding this annotation to the test will provide requested JDKs + Gradle
versions matrix as test parameter.
It is also possible to filter out supported by Gradle version JDKs.
^KT-45745 In Progress
2021-10-26 11:50:18 +00:00
Yahor Berdnikau
ca3e1b18dc
Add all supported Gradle versions.
...
^KT-45745 In Progress
2021-10-26 11:50:17 +00:00
nataliya.valtman
eec4ac644c
KT-49159 Transform KotlinGradleBuildService to BuildService
2021-10-26 09:56:15 +00:00
Anton Lakotka
dbe134e8b2
[Gradle] KT-48818 Fix mpp13XFlagsSetByPlugin setter
...
Use mpp13XFlagsSetByPlugin to prevent false-positive "GranularMetadataTrueHasNoEffect" warning
#KT-48818 Fixed
2021-10-25 08:05:26 +00:00
Anton Lakotka
1057f24a69
[Gradle] KT-48818 Add tests for subprojects
...
Reuse already existing function to assert that
build log does not contain certain sub-strings
2021-10-25 08:05:26 +00:00
Anton Lakotka
cb103dae75
[Gradle] Don't show false positive warning about old hmpp flags
...
When HMPP is enabled by default it is still printing warnings about
enableDependencyPropagation and enableGranularSourceSetsMetadata flags
#KT-48818 Fixed
2021-10-25 08:05:25 +00:00
Ilya Muradyan
a22c8c8f2f
[scripting] Fix script resolver options parsing
...
#KT-49400 Fixed
2021-10-25 04:15:35 +03:00
Ivan Kylchik
225b064470
Implement new 'mix' test mode
...
This mode must be used when one configuration will run several tests
for different JUnit versions.
2021-10-25 00:14:20 +03:00
Svyatoslav Kuzmich
4fc461a2ff
[Wasm] Imporove external interface support
...
* Support boxing/unboxing when casting to Any
* Support ===, equals, hashCode, toString
* Support adapting String in interop boundary
2021-10-23 01:26:12 +03:00
Svyatoslav Kuzmich
baa53b5cf3
[Wasm][Stdlib] Use array copy in String.toCharArray()
...
And don't use copy during internal non-mutating algorithms
2021-10-23 01:26:11 +03:00
Ilya Gorbunov
a2b9c2bd78
Document Regex constructor using "u" flag in JS #KT-46694
2021-10-22 11:51:48 +00:00
Ilya Gorbunov
9456cd0f5d
Improve Duration docs
...
- Document overflow situation in general
- Document possible rounding in operations involving Double
- Update kotlin.time package description
2021-10-22 11:51:48 +00:00
Alexander Likhachev
e9c8135dfa
[Gradle] Add Gradle & task property to set compiler execution strategy
...
#KT-49299 Fixed
2021-10-22 09:57:54 +00:00
Alexander Likhachev
b4cb7f3610
[Gradle, JS] Make packageJsonHandlers compatible with configuration cache
...
#KT-49061 Fixed
2021-10-22 09:57:54 +00:00
Alexander Likhachev
6a6cc1db77
[Gradle, JS] Add custom package json into configuration cache IT
...
#KT-49061 In Progress
2021-10-22 09:57:53 +00:00
Alexander Likhachev
1160e3875a
[Gradle] Declare kotlin.caching.enabled system property read
...
#KT-49107 Fixed
2021-10-22 09:57:53 +00:00
Alexander Likhachev
f9d4e0639c
[Gradle, JS] Reduce KotlinJsTest configuration cache footprint
...
#KT-49095 Fixed
2021-10-22 09:57:52 +00:00
Yahor Berdnikau
ae2d447ef4
Update KGP tests readme.
...
Reflect actual test setup information.
^KT-45745 In Progress
2021-10-22 07:18:43 +00:00
Yahor Berdnikau
2b53965f11
Add tasks and annotations for Gradle/Jvm and Gradle/Js tests.
...
We will split our tests into supported platforms, like JVM, Js, etc...
Tests for supported Gradle features should be added per platform.
To run any test (except daemons) also "all" task was added.
^KT-45745 In Progress
2021-10-22 07:18:43 +00:00
Sergey Igushkin
8868738ac8
KT-48709: Fix CInterop configurations ambiguity with user variants
...
* Introduce a new org.gradle.usage value: kotlin-cinterop
* Add compatibility+disambiguation rules to ensure that kotlin-cinterop
consumers can also fall back to ordinary (kotlin-api) published
variants, but not vice versa
* This ensures that ordinary kotlin-api consumers don't encounter
equally-compatible candidates where one is the normal API elements
and the other is C interop API elements
* Set org.gradle.usage = kotlin-cinterop in the C interop API elements
configurations and dependency-consuming configurations
Issue #KT-48709
2021-10-21 10:17:52 +00:00
Sergey Igushkin
a474e8a00b
KT-49189: fix project(...) dependencies on MPP from pure-Java consumers
...
* Don't set the localToProject attribute anymore, as it prevents proper
disambiguation if not set properly on all configurations, while all
the intentionally-public configurations
should already have the same value.
* Disambiguate o.j.k.platform.type Android vs JVM preferring JVM, as
Android should have other attributes which make pure-Android consumers
match the Android MPP variants.
* With Gradle 7.0+, set the attribute
`org.gradle.api.attributes.java.TargetJvmEnvironment` on the JVM &
Android elements configurations, which helps pure-Android consumers
to match the Android, not JVM variants. This fixes KT-30961 for
Gradle 7.0+ and AGP 7.0+
Issues: KT-49189, KT-30961
2021-10-21 10:17:52 +00:00
Yan Zhulanow
46b94a4757
Pill: Include certain modules into the BASE variant
2021-10-19 19:55:06 +03:00
Ilya Gorbunov
0487261be8
Duration: postpone raising deprecation to error for top-level extension properties
...
#KT-46229
2021-10-19 09:29:16 +00:00
Viacheslav Kormushkin
9307757bb4
[Gradle][Cocoapods] Error messages for the case of invalid pod repo
...
#KT-42202
Merge-request: KT-MR-4790
2021-10-19 08:15:38 +00:00
Nikolay Krasko
3ffc8c4a82
Remove publication of kotlin-test-wasm (KTI-669)
2021-10-19 02:13:28 +03:00
Nikolay Krasko
337b55e806
Minor: remove commented code from kotlin.kotlin-test.wasm/build.gradle.kts
2021-10-19 02:13:27 +03:00
Abduqodiri Qurbonzoda
f0a75e7843
Advance deprecation level of Experimental and UseExperimental annotations to ERROR
2021-10-17 21:14:36 +00:00
Yahor Berdnikau
afb68d15d6
Migrate DeterministicBuildIT tests into new test dsl.
...
^KT-45745 In Progress
2021-10-15 15:04:24 +02:00
Yahor Berdnikau
a487e91124
Migrate BuildCacheRelocationIT test to new test DSL.
...
^KT-45745 In Progress
2021-10-15 15:11:23 +03:00
Yahor Berdnikau
031c5f47d9
Populate default settings even when 'build.gradle' file is missing.
...
^KT-45745 In Progress
2021-10-15 15:11:22 +03:00
Svyatoslav Kuzmich
0f66f85cf9
[Wasm] Support main function
2021-10-15 13:58:55 +03:00
Ilya Goncharov
4cca78f8d8
[Gradle, JS] Igore if kotlin_test not found
2021-10-15 11:37:42 +03:00
Viacheslav Kormushkin
86c6ca7f5f
[Gradle][Cocoapods] Private Pods with SSH Git Url not allowed in custom specRepos
...
#KT-48887
Merge-request: KT-MR-4770
2021-10-15 06:36:22 +00:00
Alexander Likhachev
754595e496
[Gradle, JS] Fix NPM resolution synchronization issues
...
#KT-49201 Fixed
2021-10-15 00:32:40 +00:00
Igor Laevsky
cb5bef1535
[Wasm] Remove unnecessary testHelpers and add assertions from stdlib
2021-10-14 17:24:06 +03:00
Igor Laevsky
bede039c08
[Wasm] Add compiler support for the kotlin.test library
2021-10-14 17:24:05 +03:00
Igor Laevsky
7943298240
[Wasm] Add sorting function to the stdlib
2021-10-14 17:24:04 +03:00