Alexander.Likhachev
0ecbb64c64
[Build] Remove testApiJUnit5 parameters
...
Instead of declaring additional dependencies inside the method, declare them directly
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
7a1dc1f89b
[Build] Do not add ij dependencies in testApiJUnit5
...
This is not needed since the dependencies are already declared as API dependencies in the relevant projects.
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00
Alexander.Likhachev
ef0fb557a5
[Build] Split junit-jupiter into api and engine
...
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00
Alexander.Likhachev
357d12fc8e
[Build] Move JUnit dependencies into the version catalog
...
The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00
Nikita Bobko
01fc708a0f
Mark expect/actual classifiers as experimental
...
^KT-61573 Fixed
Review: https://jetbrains.team/p/kt/reviews/11969/timeline
Tests:
- MultiPlatformIntegrationTestGenerated
- CliTestGenerated
- MultiPlatformIntegrationTestGenerated
- DiagnosticTestGenerated.Multiplatform
- FirLightTreeOldFrontendDiagnosticsTestGenerated
Also add -Xexpect-actual-classes flag to all necessary ./libraries/* modules
Otherwise compilation of those modules failes because of `-Werror`
2023-09-04 12:21:37 +00:00
Bogdan Mukvich
5456ef3ad8
[Gradle] Remove ':kotlin-project-model' from artifacts-tests test data
...
^KT-61463 Verification Pending
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
02c2c76ffe
[Gradle] Remove ':kotlin-project-model' and ':kotlin-project-model-tests-generator'
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
e800885c03
[Gradle] Remove ':kotlin-gradle-plugin-kpm-android' module
...
KT-61463
2023-08-29 16:45:12 +00:00
Alexander.Likhachev
59997fb76a
[Build] Update the list of modules with disabled K2 bootstrap
...
#KT-61449 In Progress
Relates to KT-59171
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
db43d8cc8d
[Build] Apply workaround for bt-api resolution as in b97e82f604
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
2304b0f12d
[Build] Change how buildSrc buildscript detects versions
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
2570be129f
[Gradle, BT] Move script definitions scanning into the build tools API
...
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
6cfa165ddb
[Gradle, Build] Publish an artifact with unpublished compiler modules for KGP
...
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
e68661fc0d
[Build, Gradle] Remove totally unused KGP dependencies
...
#KT-61449 In Progress
2023-08-29 13:00:14 +00:00
Bogdan Mukvich
dbb5072a26
[Build] Update dependencies
...
Fix some reports from "Show Vulnerable Dependencies"
^KTI-1342
2023-08-25 14:10:37 +00:00
Dmitriy Novozhilov
b193dc50b4
[Build] Exclude :scripting:dependencies-maven-all from JPS compilation
2023-08-23 14:57:22 +00:00
Ilya Gorbunov
5f5e76a09b
kotlin-test-wasm: correct main source sets compilation, KT-61342
...
- Do not include test sources in main source sets
- Extract commonWasm source set that contains code shared between
wasm-js and wasm-wasi
2023-08-22 13:50:58 +00:00
Bogdan Mukvich
1458c81094
Add maven wrapper and mvn install gradle task
2023-08-22 13:45:45 +00:00
Nikolay Krasko
df55283148
Revert "[Build] Fix usage of --scan parameter with test retry"
...
It looks like tests retry doesn't work sometimes.
This reverts commit ecd06ac47b .
KTI-1346 KTI-1339
2023-08-21 21:01:18 +00:00
Aleksei.Cherepanov
e1c399b353
Fix JPS import after 7ae443ad
2023-08-21 10:11:55 +00:00
Ilya Gorbunov
9640e32483
[stdlib-mpp] Publish wasm artifacts through variants of stdlib KT-60909
2023-08-18 15:36:15 +00:00
Ilya Chernikov
a53933d8ce
Scripting: do not pack generic dependencies jar into maven-all
...
The -all jar is compacted with proguard, and the proguard removes
synthetic methods methods with $default suffix from classes regardless
of the -keep flag.
Therefore the calls to the $default metods lead to the NoSuchMethodError
exception on runtime.
Removing the main interface module from the proguarded jar solves the
problem for now (but not generally, the use of "proguarded" jars as
libraries should be discouraged.)
#KT-60862 fixed
2023-08-18 12:35:25 +00:00
Bogdan Mukvich
04d330edae
Add cleaning instruction to artifacts tests README
2023-08-18 11:01:56 +00:00
Dmitriy Novozhilov
9e3afe7a1f
[Build] Add utility function to opt-in to ObsoleteDescriptorBasedAPI
2023-08-16 17:47:29 +00:00
Dmitriy Novozhilov
697d0d5638
[IR] Mark IrSymbol.owner with OptIn annotation
...
^KT-60923 Fixed
2023-08-16 17:47:29 +00:00
Bogdan Mukvich
ecd06ac47b
[Build] Fix usage of --scan parameter with test retry
...
Gradle fails to configure test retry when `--scan` parameter is present
It happens due to some race in plugin application
and creation of a test extension
^KTI-1339
2023-08-16 12:36:28 +00:00
mvicsokolova
9ff0e0b046
[atomicfu-K/N] Tests for K/N atomicfu-compiler-plugin
...
* `nativeTest` task now allows to provide compiler plugins that may be enabled during test compilation
* test sets for JVM and K/N backends are equal
KT-60800 describes all the issues with native tests that were solved in this commit.
Co-authored-by: Dmitriy Dolovov <Dmitriy.Dolovov@jetbrains.com >
Merge-request: KT-MR-11401
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2023-08-16 09:41:29 +00:00
Timofey Solonin
d25d0e4f94
[MPP] Validate which configurations resolve for explicit stdlib-js dependency
...
^KT-60901
^KT-61126
2023-08-11 14:52:03 +00:00
Ilya Gorbunov
3e4cbd6dd2
Publish Gradle metadata for kotlin-stdlib-common, KT-60911
...
This makes it depend on kotlin-stdlib in all targets
and have no artifacts from Gradle's point of view
2023-08-11 08:49:23 +00:00
Alexander.Likhachev
2675531624
[Build] allow empty build cache url to disable it
...
4af1970b28 allows it only for the included build
2023-08-09 22:10:43 +00:00
Aleksei.Cherepanov
c8c3565a24
Fix JPS import
...
Exclude kotlin-stdlib-js project for JPS build. Related to KT-56106
#KT-61059 Fixed
Merge-request: KT-MR-11527
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2023-08-09 14:37:21 +00:00
Dmitriy Dolovov
da2e6d93ff
[Native][tests] Don't use trove4j in K/N new test infra
2023-08-09 12:15:39 +00:00
Yahor Berdnikau
380062c511
[repo] Update the shadow version to 8.1.1 release
...
https://github.com/johnrengelman/shadow/releases/tag/8.1.1
2023-08-09 08:36:46 +00:00
Anton Lakotka
c58eef8330
[stdlib-mpp] Update kotlin-stdlib.pom
...
It has now unnecessary duplicated dependencies on kotlin-stdlib-common.
They should be removed in followup changes.
^KT-61053 Verification Pending
2023-08-09 07:52:35 +00:00
Igor Yakovlev
983991d46c
[Wasm] Add box and stdlib tests in wasi mode
2023-08-08 18:10:19 +02:00
Igor Yakovlev
f42d0b1ed4
[Wasm] Add wasi kotlin.test target gradle buildscript
2023-08-08 18:10:19 +02:00
Igor Yakovlev
d1c7caf15c
[Wasm] Add wasi stdlib target gradle buildscript
...
KT-56608
2023-08-08 18:10:19 +02:00
Alexander Udalov
4af1970b28
Build: allow empty build cache url to disable it
2023-08-08 11:25:20 +00:00
Bogdan Mukvich
ec73815f80
Generate SBOM for kotlin gradle plugin and its API
...
^KTI-1129
2023-08-07 15:50:49 +00:00
Nikolay Krasko
a1250e838b
Ignore compose experimental modules during artifacts check
...
The check can be improved in the future, so not only parent directory
is checked.
2023-08-07 08:18:19 +00:00
Bogdan Mukvich
a20db23b1f
Do not generate SBOM for gradle test plugins
...
^KTI-1129
2023-08-04 10:14:08 +00:00
Ilya Gorbunov
21565c6128
[stdlib-mpp] Add dependency constraints to JVM variant, KT-55297
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
a9bc8fa402
[stdlib-mpp] Exclude kotlin-stdlib-js/js-ir projects and use kotlin-stdlib instead
...
- Specify disambiguating attributes in kotlin-dom-api-compat
compile dependency configurations
because it uses the flag that removes JS compiler type attribute
from all configurations and variants
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
b3707807b6
[stdlib-mpp] Do not depend on kotlin-stdlib-common in kotlin-test-common
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
8172bbcb3a
[stdlib-mpp] Update expected poms of the standard library
...
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
69a87efdd9
js.tests: change paths to kotlin-stdlib-js.klib
...
Change the expected klib name of stdlib
KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
34720f27d4
[stdlib-mpp] Switch kotlin-stdlib project to multiplatform
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
be0bf91961
Exclude copied sources from code conformance test
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
72e1578ece
YarnAndNpmSuppressor: more allowed test task names
...
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov
ff499a6361
[stdlib-mpp] Support java9 source set compilations in MPP library projects
...
#KT-56106
2023-08-03 14:47:19 +00:00