Yahor Berdnikau
22e1e79c41
[Repo] Don't use kotlinOptions in buildSrc-compat
...
Exception is configuring klib relative path which should be fixed via
separate issue.
^KT-63419 In Progress
2024-02-22 14:48:10 +00:00
Bogdan Mukvich
ff2fea390b
Fix snapshot deployment maven params
...
^KT-65944
2024-02-21 17:13:29 +00:00
Ilya Gorbunov
0ecbbbf1ca
[stdlib] Set AV to 2.0, LV to 1.9 for main compilations, build tests with K2
2024-02-21 16:28:12 +00:00
Yahor Berdnikau
7416d7271a
[Gradle] Compile against Gradle API 8.6
...
^KT-64378 Fixed
2024-02-21 12:33:02 +00:00
Yahor Berdnikau
2a195062a8
[Gradle] Add plugin variant for Gradle 8.5
...
^KT-64355 In Progress
2024-02-21 10:20:19 +00:00
Ilya Gorbunov
98f23c0fba
[build] Take artifacts from maven.zip when bootstrapping on a teamcity build
2024-02-20 19:51:09 +00:00
Kirill Rakhman
9eb6646576
[Infrastructure] Use Parallel GC for JPS tests and increase Xmx
2024-02-20 16:51:24 +00:00
Ilya Goncharov
d86b26be15
Add binaryen to resolve dependencies
2024-02-19 15:28:27 +00:00
Andrey Yastrebov
60071cbb54
KT-65740 Create swift-export-embeddable module
2024-02-19 10:55:55 +00:00
Pavel Kunyavskiy
5ddc31e932
[Tests] Add handler to regenerate irText testData
...
It is disabled by default, can be enabled by code change.
It's useful when changes in dumper is done with significant
amount of tests changed.
^KT-65460
2024-02-16 10:19:37 +00:00
Pavel Punegov
07422d4feb
[K/N][test] Implement shared test execution of TestCases
...
Added the ability to execute multiple tests once and share the results.
With Test runner turned on tests are being compiled into the single
executable. Then they executed each one separately using --ktest_*
options. This commit makes test run executable once and the result goes
to the result handler.
2024-02-15 18:07:25 +00:00
Yahor Berdnikau
e3b7366b10
[Gradle] Compile Gradle plugins against Gradle API 8.5
...
^KT-65819 Fixed
2024-02-15 18:04:59 +00:00
Leonid Startsev
ed30221f42
Publish kotlin-metadata-jvm as a part of Kotlin distribution
...
and add a corresponding POM test.
#KT-63161 Fixed
2024-02-15 15:32:33 +00:00
cristiangarcia
85399bc969
Fake service to limit tests concurrency
...
Required for KTI-1553
2024-02-14 18:35:43 +00:00
cristiangarcia
e876a42e3d
checkRepositories is not configuration cache compatible
...
Required for KTI-1553
2024-02-13 19:29:47 +00:00
cristiangarcia
74193aefb4
Kotlin maven publication tasks are not compatible with Configuration Cache
...
Required for KTI-1553
2024-02-12 14:45:06 +00:00
Yahor Berdnikau
cf1a1693b3
[Gradle] Remove exceptions for warnings-as-errors flag enable
...
^KT-56904 Fixed
2024-02-12 14:39:33 +00:00
cristiangarcia
545753ff4c
Dokka is not compatible with ConfigurationCache
...
Required for KTI-1553
2024-02-12 12:13:59 +00:00
cristiangarcia
a9d0e8574e
Make artifacts-tests:test ConfigurationCache compatible
...
Required for KTI-1553
2024-02-12 12:06:12 +00:00
cristiangarcia
cb0d78d443
singleOutputFile() method used Task.getProject() and that's not allowed with CC
...
Required for KTI-1553
2024-02-09 21:35:03 +00:00
Ilya Goncharov
b4e1fa8569
[Gradle, Wasm] Standartize binaryen and d8 download instead of download task
...
^KT-65686 fixed
2024-02-09 11:18:37 +00:00
Brian Norman
aa34282efb
[PowerAssert] Integrate with build
...
^KT-63617 Fixed
2024-02-07 21:51:17 +00:00
Bogdan Mukvich
555e374a33
Ignore native bundle artifacts in ArtifactsTest
...
* kotlin-native not enabled by default in project
2024-02-07 09:51:56 +00:00
cristiangarcia
9f8ea3e2e5
Proguard 7.4.2 - ConfigurationCache compatible
...
Required for KTI-1553
2024-02-06 20:16:22 +00:00
Ilya Gorbunov
58c03e021b
Update transitive dependencies of JVM test frameworks in kotlin-test KT-65242, KT-63397
2024-02-06 11:06:12 +00:00
Bogdan Mukvich
55a87f301b
Ignore native bundle artifacts in ArtifactsTest
...
* kotlin-native not enabled by default in project
2024-02-05 17:16:35 +00:00
Alexander Shabalin
5525a6829a
[ObjCExport][tests] Ignore AA test failures both locally and on CI
...
To run AA tests normally, use kif.loca gradle property.
Merge-request: KT-MR-14129
Merged-by: Alexander Shabalin <alexander.shabalin@ashabalin.me >
2024-02-02 13:43:30 +00:00
Bogdan Mukvich
cb8228d6ec
Add testRuntimeClasspath to resolveDependencies task
2024-02-02 13:26:57 +00:00
Sebastian Sellmair
0db8931026
[ObjCExport] Implement 'TodoAnalysisApi' annotation and run AA based tests as part of ':native:objcexport-header-generator:check'
...
^KT-65281 Fixed
^KT-65108 Fixed
2024-01-26 16:19:20 +00:00
cristiangarcia
c53ac2e91f
Update Proguard to 7.4.1
2024-01-25 11:36:31 +00:00
Yahor Berdnikau
0e98eb5bb4
[Gradle] Add test checking '.attribute(key, attr)' method is not used
...
We want to prevent usages of 'AttributeContainer.attribute(key, attr)'
method in our codebase.
^KT-60664 Verification Pending
2024-01-19 14:58:23 +00:00
Pavel Punegov
6b409d87f5
[K/N][test] Support library for running Kotlin/Native tests with XCTest
...
This change adds a library with cinterop that has XCTest wrapper around
Kotlin/Native tests (that are @kotlin.test.Test marked methods).
This library can be compiled with either test code using the option
`-produce test_bundle` to make a loadable test bundle or used inside
the existing ObjC/Swift tests if compiled to a framework.
The basic idea is to make XCTest be able to resolve separate test cases
and correctly show them in test reports. This was achieved by wrapping
test cases with dynamically created invocation methods. Test listeners
are integrated with XCTest Observation to make it possible to have
the same ability to report with GTest or TeamCity logging.
Gradle build files use MPP Gradle plugin and use a bootstrap version
of K/N. Property `kotlin.native.home` was moved to the kotlin-native
subproject to not override this project's K/N distribution, that is
being used by the KGP with the same property.
This is a part of ^KT-58928
Merge-request: KT-MR-13268
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2024-01-18 15:04:37 +00:00
Artem Kobzar
dfe2d8651e
[K/JS] Prepare JS Plain Objects plugin to publication
2024-01-17 10:52:58 +00:00
Artem Kobzar
de44905edd
[Tests] Show all the missing artifacts in the ArtifactsTest instead of asserting one by one
2024-01-12 15:37:20 +00:00
Artem Kobzar
300702a7e7
[K/JS] Create JavaScript Simple Object plugin that helps create typed JS objects
2024-01-10 16:30:02 +00:00
Alexander.Likhachev
21b438f55d
Replace the trove4j collections usages with the fastutil ones
...
The trove4j library is licensed under LGPL, and that causes some troubles while working with it. The fastutil library provides the same functionality in the context of our needs, and is licensed under the Apache license.
^KTI-1135 In Progress
2024-01-10 11:29:25 +00:00
Dmitriy Novozhilov
4c74fa1d1d
[Build] Exclude native tests of atomicfu from the JPS compilation
...
`AtomicfuNativeTestGenerated` test depends on classes from Native
modules, which are not present in the JPS build. Which means that this
class should be excluded from the compilation, so "Build project"
wouldn't fail on it
2024-01-09 16:09:24 +00:00
Sebastian Sellmair
e409c60780
[ObjCExport] Split ObjCExport into K1 and Analysis Api implementation
...
FL-23390
^KT-64168 Fixed
2024-01-08 15:25:19 +00:00
Dmitriy Novozhilov
8db722658d
[Build] Include :libraries:tools:kotlinp back to compilation with JPS build
2024-01-02 15:07:44 +00:00
Artem Kobzar
053bc08626
[K/Wasm] Add Binaryen sizes to Wasm size tests
2023-12-21 14:19:09 +00:00
Artem Olkov
cae6e0ee0f
Add checks that kotlin-native.swift-export.enabled is actually turned on
...
Merge-request: KT-MR-13506
Merged-by: Artem Olkov <artem.olkov@jetbrains.com >
2023-12-14 10:27:19 +00:00
Ilya Gorbunov
e0bc0b81c6
[kotlin-test] Drop subprojects unneeded anymore KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
fb74c18235
Fix maven plugin IT install and kotlin-bom dependencies after KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
653fc03cbc
Replace kotlin-test project dependencies in dist
...
KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
c40de28775
Replace kotlin-test-js project dependencies in the project
...
KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
d2aae67e03
Replace kotlin-test project dependencies in the project
...
Use dependency helper function that chooses whether to take them
from the bootstrap repository or from a configuration of kotlin-test
KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
f07bf70aa7
Switch stdlib tests to KMP kotlin-test KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
b91e4e24c4
[kotlin-test] Custom publishing layout KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
977da5c9b1
Support multiple java9 compilations in a project
...
Required for KT-61969
2023-12-13 15:40:25 +00:00
Ilya Gorbunov
f3240757ed
Extract custom publishing dsl to buildsrc-compat
...
It will be used also in kotlin-test KT-61969
2023-12-13 15:40:25 +00:00