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
Ilya Gorbunov
79d5c87f30
[stdlib-mpp] Disable test retries for MPP libraries
...
Not compatible with org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest
executer.
#KT-56106
2023-08-03 14:47:19 +00:00
Vyacheslav Gerasimov
5be8d63c00
Build: resolve commonCompileClasspath in resolveDependencies task
...
`commonCompileClasspath` is not resolved during with --write-verification-metadata, only during KGP build
#KTI-1277
2023-08-01 09:18:34 +00:00
Alexander.Likhachev
18aa7f4d4b
[BT] Implement non-incremental compilation within the daemon
...
#KT-57398 In Progress
2023-07-31 10:38:35 +00:00
Sebastian Sellmair
fe3d5014ce
[Gradle] Compile against Gradle 8.2
...
^KT-58157 In Progress
2023-07-28 15:55:51 +00:00
Alexander.Likhachev
28c059f25b
[BT] Implement basic non-incremental in-process JVM compilation
2023-07-28 15:48:28 +00:00
Timofey Solonin
167ddc556d
[MPP] Don't publish PM20
...
^KT-60198
2023-07-27 15:54:06 +00:00
Mikhail Glukhikh
e76cf24d01
Explicitly use language version 1.9 for K2-unsupported parts
...
This commit explicitly sets LV 1.9 for all projects with disabled FIR
bootstrap, as well as for libraries, including Native stdlib.
Related to KT-59171
2023-07-26 18:19:58 +00:00
Yahor Berdnikau
63b0e900a9
[repo] Start using version catalog in the main build
2023-07-19 17:53:10 +00:00
Yahor Berdnikau
9294a74bf2
[repo] Fix 'prepare-deps' sub-project was not included in build
2023-07-19 17:53:10 +00:00
Yahor Berdnikau
45d8a8e56a
[repo] Simplify buildsrc-compat/build.gradle.kts configuration
...
Use the Kotlin extension to configure toolchain and compiler options.
2023-07-19 17:53:10 +00:00
Yahor Berdnikau
d743dc70ac
[repo] Add version catalog for gradle-build-conventions included build
2023-07-19 17:53:10 +00:00
Yahor Berdnikau
67ea8b09e7
[repo] Migrate settings.gradle into settings.gradle.kts
2023-07-19 17:53:10 +00:00
Yahor Berdnikau
92baeefeaf
[repo] Add version catalog for gradle-settings-convensions included build
2023-07-19 17:53:10 +00:00
Yahor Berdnikau
dc5660d98c
[Gradle] Add 'validatePlugins' tasks for Gradle plugin dependencies
...
Gradle 8 has removed "validate-external-gradle-plugin" plugin which we
used before to run validate task inputs proper annotations.
With this change, every Gradle dependency that is not published as a
Gradle plugin but uses Gradle API types is also running
'validatedPlugins' task registered manually via a build script.
^KT-59827 Fixed
2023-07-19 13:36:03 +00:00