Mikhail Glukhikh
a77b758efa
LV 2.0: drop reporting FIR_COMPILED_CLASS and relevant stuff
...
#KT-62056 Fixed
Related to KT-59171, KT-61951
2023-09-21 11:14:09 +00:00
Bogdan Mukvich
e705cd3dac
SBOM for kotlin-dom-api-compat
...
^KTI-1243
2023-09-21 08:26:03 +00:00
Alexander.Likhachev
33df94d96e
[Gradle] Fix mpp+kapt tests on Windows
...
Previously expected paths were defined with forward slash, however, on Windows the paths are transformed to use backslash.
2023-09-21 08:05:10 +00:00
Vladimir Sukharev
c4221b0ec7
[MPP] Enable integration test "K2: Check native stdlib is not shadowed by commonMain stdlib metadata"
...
^KT-61645 Fixed
Merge-request: KT-MR-12243
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com >
2023-09-21 06:57:58 +00:00
Dmitry Savvinov
0db4f464bb
[gradle, kmp] Minor: add more info to deprecation message
...
Buildscripts that used `ios`-shortcut certainly used
`val iosMain by getting` as well, which will lead to Gradle exception
after migration. Mention in the diagnostic message that one should
replace `by getting` with static accessors
^KT-60734
2023-09-20 13:33:06 +00:00
Ilya Gorbunov
93b107000a
[stdlib-mpp] Remove stdlib projects no longer included in build
2023-09-20 01:07:59 +00:00
Ilya Gorbunov
222f996d45
[stdlib-mpp] Cleanup kotlin.stdlib.mpp build flag (always true)
2023-09-20 01:07:59 +00:00
Ilya Goncharov
24e8c9c90d
[Gradle, Wasm] Add nodeJs setup task dependency to wasi test task
...
^KT-61971 fixed
2023-09-19 16:54:42 +00:00
Mikhail Glukhikh
02961b7712
LV 2.0: fix Native Gradle integration test data
2023-09-19 15:46:31 +00:00
Anton Lakotka
232bbda076
[Gradle] Disable Kapt4.testKt18799 for K2
...
Until KT-61845 is fixed
^KT-61845
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Anton Lakotka
79778877c2
[Gradle] Add missing kotlin-compiler-args plugin for test
...
This will ensure that language version is set correctly.
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Anton Lakotka
c3ab626c63
[Gradle] Enable K2 support for sample compiler plugin
...
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Ilya Chernikov
9ed23a7f07
Scripting: fix supplementary test jar compilation
...
make its version consistent with compilation of the script
that uses it
2023-09-19 15:46:30 +00:00
Anton Lakotka
88f0acfc79
[Gradle] Fix CInterop test after migration to K2
...
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Anton Lakotka
e23801fdfc
[Gradle] Add missing depends on relation in test data project
...
^KT-61106 Verification Pending
2023-09-19 15:46:30 +00:00
Mikhail Glukhikh
7c68e73816
LV 2.0: fix test data in HierarchicalMppIT.testProjectDependencies
...
This commit contains two kind of fixes:
1) K2 does not create entries for empty subpackages anymore,
so for the file with 'package foo.bar.baz' it creates an entry
only for the main package 'foo.bar.baz' and not for 'foo' or 'foo.bar'
2) K2 uses changed format of the classpath for third party common lib,
now it looks like other dependencies 'name-of-lib-<version>-commonMain'
instead of 'name-of-lib-metadata-<version>'
2023-09-19 15:46:30 +00:00
Anton Lakotka
58b0d6ffa8
[Gradle] Update MppHighlightingTestDataWithGradleIT for K2
...
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00
Anton Lakotka
c290a44f2b
[Gradle] Update UnnamedTaskInputsIT to use correct MPP project
...
And fix incorrect code in hierarchical-mpp-multi-modules
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00
Anton Lakotka
311b4c2deb
[Gradle] Remove tests related to Legacy Metadata Compilation
...
it is no longer supported in k2
^KT-61817
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00
Anton Lakotka
642c9e4261
[Gradle] Remove tests for legacy multiplatform plugin
...
Stdlib is already migrated, kotlin-test is on the way. In Kotlin 2.0
this should be removed completely.
^KT-61816
^KT-61106 Verification Pending
2023-09-19 15:46:29 +00:00
Anton Lakotka
c7e4fa8654
[K2, Gradle, Test]: Remove check for languageVersion=2.0 in tests
...
Since Kotlin default version is already 2.0
then this check can be removed.
^KT-60860 Fixed
2023-09-19 15:46:28 +00:00
Ilya Chernikov
a182c907bc
Fix scripting testdata for changed diagnostics in K2
2023-09-19 15:46:28 +00:00
Ilya Chernikov
8a10070772
LV20 update scripting test mute logic for K2
...
after switching to LV20 by default
2023-09-19 15:46:28 +00:00
Ilya Chernikov
beeae2772e
LV20: fix / mute failing main-kts test
2023-09-19 15:46:28 +00:00
Ilya Chernikov
562ede4c7d
LV20: Fix maven plugins test metadata
2023-09-19 15:46:28 +00:00
Aleksei.Cherepanov
39a0829f39
Fix Maven tests for K2
...
1) Update test data according to K2 compiler output
2) Finally switch logic of choosing compiler runner depends on language version instead of deprecated useK2 flag
#KT-60859 Fixed
2023-09-19 15:46:27 +00:00
Ilya Chernikov
e3dae559d0
LV20: refactor K2 scripting tests - rename tasks
2023-09-19 15:46:27 +00:00
Mikhail Glukhikh
e077be38f7
Migrate some Gradle tests to Kotlin 2.0
2023-09-19 15:46:27 +00:00
Mikhail Glukhikh
5fb38008b7
Switch Kotlin version to 2.0
...
#KT-59171 In Progress
2023-09-19 15:46:26 +00:00
Sebastian Sellmair
68ca571528
[Gradle] jvm+android: Add additional test for 'java only'
...
^KT-62033 Verification Pending
2023-09-19 15:31:57 +00:00
Sebastian Sellmair
cb5026b528
[Gradle] jvm+android: Support source dependency resolution to jvm only project
...
^KT-62033 Verification Pending
2023-09-19 15:31:57 +00:00
Konstantin Tskhovrebov
5473db9ac5
KT-56369: [cinterop] Add gradle integration test on '-fmodules' hint
2023-09-19 15:23:52 +00:00
Dmitrii Krasnov
8e71488adf
[Gradle] Check ~/.konan after each test class
...
Added deleting ~/.konan before kotlin-gradle-plugin-integration-tests execution. And added checking ~/.konan after each test class. This is necessary to check that in each test konan.data.dir gradle property is set properly
2023-09-19 14:39:25 +00:00
Anton Lakotka
1a35d01fe1
[Gradle] Fix possible CME in sourceSetsMetadataOutputs
...
Iterating over source sets and waiting for compilation wasn't safe.
Because compilation upon configuration were able
to add more source sets.
Awaiting source sets first should solve the issue.
^KT-61652 Verification Pending
2023-09-19 13:28:51 +00:00
Anton Lakotka
7d047261d9
[Gradle] Test no CME when jupiter plugin is applied
...
^KT-61652 Verification Pending
2023-09-19 13:28:51 +00:00
Zalim Bashorov
8a6fdf2493
[Wasm] Change expected outcome to SUCCESS in wasm-wasi-test
...
Added workaround for missing dependency.
#KT-59720
2023-09-19 09:23:26 +00:00
Zalim Bashorov
c915cc54c7
[Wasm] Use Node.js with "canary" v8 in gradle mpp tests
...
It's required due to switching to the latest wasm opcodes.
#KT-59720
2023-09-19 09:23:26 +00:00
Zalim Bashorov
86e854a980
Revert "[Wasm] Don't use the new br_on_cast* instructions since they are not supported in Node.js yet"
...
This reverts commit 2d728727
#KT-60828 Fixed
2023-09-19 09:23:26 +00:00
Zalim Bashorov
44f9199f66
[Wasm] Update Binaryen to 116
...
#KT-59720
2023-09-19 09:23:26 +00:00
Zalim Bashorov
874ca6a1af
[Wasm] Update v8 to 11.9.85
...
#KT-59720
2023-09-19 09:23:26 +00:00
Anton Lakotka
64f0e1e742
[Gradle] registerProjectStructureMetadata in afterEvaluate
...
To prevent issues with Configuration Cache and Precompiled Script Plugins
^KT-59042 Verification Pending
2023-09-19 08:48:54 +00:00
Anton Lakotka
37d797577b
[Gradle] Test MPP with Configuration Cache and Precompiled Script Plugins
...
^KT-59042 Verification Pending
2023-09-19 08:48:54 +00:00
Yahor Berdnikau
ac18f6e16e
[Gradle] Fix common sources are not included for kaptGenerateStubs task
...
^KT-61622 Fixed
2023-09-18 18:52:28 +00:00
Yahor Berdnikau
005e3c0939
[Gradle] Update test verifying MPP/Jvm project is working with Kapt
...
We have such test, but it was using long deprecated platform plugins.
^KT-61622 In Progress
2023-09-18 18:52:28 +00:00
Ilya Goncharov
6a514c3209
[Gradle, Wasm] Binaryen to wasm targets
...
^KT-62024 fixed
^KT-62025 fixed
2023-09-18 14:42:20 +00:00
Ilya Goncharov
afbfc9ce8e
[Gradle, wasm] add checker about changed wasm source sets
...
^KT-61950 fixed
2023-09-15 20:56:31 +00:00
strangepleasures
c31a3869c6
[KAPT] Fix package names org.jetbrains.kotlin.base.kapt3 -> org.jetbrains.kotlin.kapt3.base
2023-09-15 19:36:30 +00:00
Evgenii Mazhukin
7d762c9754
[KGP] Drop link to removed documentation
2023-09-15 18:26:42 +00:00
Nikolay Krasko
f56167726d
Register a new deploy server in maven instead of forgotten one
...
KTI-1377
2023-09-15 13:50:11 +00:00
Yahor Berdnikau
d5f4cd72b7
[Gradle] Don't sync freeCompilerArgs second time for the Native link task
...
Since CompilerOptions and LanguageSettings are synchronized between
each other, we don't need this additional sync that actually duplicates
arguments.
^KT-61700 Fixed
2023-09-15 13:44:19 +00:00