89 Commits
Author SHA1 Message Date
Bogdan Mukvich e72bac333f Update SPDX gradle plugin
* contains local license cache
* add more info to license parsing exception
https://github.com/Badya/spdx-gradle-plugin/commit/9802dbe05f9462c9e24f5a62af4678754d367648

KTI-1630
2024-03-18 12:56:50 +00:00
Bogdan Mukvich c6aac835e5 Update SPDX gradle plugin
* fixes SPDX Gradle plugin to be used with configuration cache
* allows removing output workaround for multimodule builds

KTI-1427
2024-03-11 14:22:06 +00:00
Bogdan Mukvich 768119bdef Remove mentioning of snapshot versions
* we don't publish snapshots

^KTI-1541
2024-02-21 17:13:29 +00:00
Bogdan Mukvich ff2fea390b Fix snapshot deployment maven params
^KT-65944
2024-02-21 17:13:29 +00:00
Bogdan Mukvich 6152022838 Gitignore teamcity directory
^KTI-1541
2024-02-21 15:38:02 +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
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
Bogdan Mukvich 86fa4507d0 Publish native SBOMs with binaries to maven repository
^KTI-1569
2024-02-05 17:16:35 +00:00
Bogdan Mukvich cb8228d6ec Add testRuntimeClasspath to resolveDependencies task 2024-02-02 13:26:57 +00:00
Bogdan Mukvich d5e4c1db50 [K/N] Filter archives by extension for artifact publication
^KTI-1479
2023-12-20 19:05:11 +00:00
Bogdan Mukvich 926af575f9 Native: calculate and publish bundle artifacts' checksums
* Fix native publication creation

^Related to KTI-1479
2023-12-18 11:59:16 +00:00
Bogdan Mukvich c66370bf93 Add gradle checksum to kotlin-stdlib-docs-legacy
^KTI-1456
2023-12-14 13:54:52 +00:00
Bogdan Mukvich 3616adbe1b Replace single artifacts-test with test factory
* Add the ability to fix all tests locally in one run

^KTI-1515
2023-12-13 14:50:57 +00:00
Bogdan Mukvich b76452e15f Use deployVersion if present for artifacts-tests
^KTI-1476
2023-12-12 12:28:44 +00:00
Bogdan Mukvich b7d56dea44 Point ArtifactsTests to custom maven repo dir to avoid stale artifacts
^KTI-1345
2023-12-12 10:28:48 +00:00
Bogdan Mukvich f558b0dc55 Update build-env docker image
* Update debian base image
* Update JDK 8, JDK 11
* Add JDK 17, JDK 21
* Update maven
* Add java to PATH
2023-11-17 11:23:23 +00:00
Bogdan Mukvich d4640cb576 Remove repack_bundles.py script
* moved to build infrastructure scripts
2023-09-21 10:24:09 +00:00
Bogdan Mukvich e705cd3dac SBOM for kotlin-dom-api-compat
^KTI-1243
2023-09-21 08:26:03 +00:00
Bogdan Mukvich 826297979d SBOM for native artifacts
^KTI-1240
2023-08-30 13:20:33 +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
Bogdan Mukvich 2472999242 Fail generateTests when testData directory is empty
When switching git branches, there might be some empty directories left
This causes generateTests to pass locally with no changes and fail on CI
2023-08-25 15:23:40 +00:00
Bogdan Mukvich 7b00323b89 [Build] Update guava
Fix some reports from "Show Vulnerable Dependencies"

^KTI-1342
2023-08-25 14:10:37 +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
Bogdan Mukvich 62a6bb1a31 [Build] Update dependencies in test-mutes module
^KTI-1342
2023-08-25 14:10:37 +00:00
Bogdan Mukvich 0aefd3b371 Add CODEOWNERS records for maven wrapper files 2023-08-23 09:07:28 +00:00
Bogdan Mukvich 1458c81094 Add maven wrapper and mvn install gradle task 2023-08-22 13:45:45 +00:00
Bogdan Mukvich 04d330edae Add cleaning instruction to artifacts tests README 2023-08-18 11:01:56 +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
Bogdan Mukvich e89334e5ba [Build] Update gradle enterprise 2023-08-16 12:36:28 +00:00
Bogdan Mukvich ec73815f80 Generate SBOM for kotlin gradle plugin and its API
^KTI-1129
2023-08-07 15:50:49 +00:00
Bogdan Mukvich a20db23b1f Do not generate SBOM for gradle test plugins
^KTI-1129
2023-08-04 10:14:08 +00:00
Bogdan Mukvich 3aee0ab994 Add SBOM for gradle plugins
^KTI-1299
2023-07-19 06:57:32 +00:00
Bogdan Mukvich b6e8937077 Use root document supplier field value for project modules in SBOM
KTI-1301
2023-07-19 06:55:19 +00:00
Bogdan Mukvich 418404b597 Support NOASSERTION value for downloadUrl in SBOM
Fixes compatibility with Gradle 8.2

^KTI-1289
2023-07-11 09:12:37 +00:00
Bogdan Mukvich 45e56f9c14 Disable SBOM for Gradle plugins
Current implementation causes publishing to fail

^KTI-1282
2023-06-30 07:55:45 +00:00
Bogdan Mukvich a9d0ff83cf Add SBOM publishing for kotlin wasm libraries
^KTI-1273
2023-06-27 09:02:18 +00:00
Bogdan Mukvich 4ded83d266 Add SBOM publishing for kotlin-test-js-runner
^KTI-1273
2023-06-27 09:02:18 +00:00
Bogdan Mukvich 53ce5c22ca Add SBOM publishing for kotlin-test libraries
^KTI-1273
2023-06-27 09:02:18 +00:00
Bogdan Mukvich 9cfc66ae77 Restore SBOM publishing for stdlib
^KTI-1273
2023-06-27 09:02:18 +00:00
Bogdan Mukvich acb97d8cc9 Add SBOM for gradle plugins
^KTI-1273
2023-06-27 09:02:17 +00:00
Bogdan Mukvich 8dab53f58a Add README for ArtifactsTests
^KTI-1103
2023-06-27 08:47:14 +00:00
Bogdan Mukvich 3bb429929a Update expected poms in ArtifactsTests
^KTI-1103
2023-06-27 08:47:14 +00:00
Bogdan Mukvich 26a479918b Add expected poms
^KTI-1103
2023-06-26 08:19:47 +00:00
Bogdan Mukvich 9160636a71 Implement artifacts test
^KTI-1103
2023-06-26 08:19:47 +00:00
Bogdan Mukvich d1e5b252c9 Add artifacts-tests module
^KTI-1103
2023-06-26 08:19:47 +00:00
Bogdan Mukvich b4004763cc [Gradle] Fix pom for kotlin-annotation-processing-gradle
^KTIJ-25586
2023-06-12 11:45:26 +00:00
Bogdan Mukvich 1dbe47c039 [CODEOWNERS] Add IntelliJ Kotlin Plugin to OWNER_LIST 2023-06-09 11:56:36 +02:00
Bogdan Mukvich ad8909113d Add SBOM for maven plugins 2023-06-06 13:27:26 +00:00
Bogdan Mukvich 303b01b89b Add SBOM configuration for all published artifacts by default 2023-06-06 13:27:26 +00:00
Bogdan Mukvich 18f52832f5 Configure SBOM maven publishing for stdlib 2023-06-06 13:27:25 +00:00
Bogdan Mukvich 02de693a12 Configure SBOM should return artifact 2023-06-06 13:27:25 +00:00
Bogdan Mukvich 1e4f78dcff Update spdx-gradle-plugin 2023-06-06 13:27:25 +00:00
Bogdan Mukvich 3de59e3f17 Fix kotlinx-atomicfu-runtime sonatype publication
^KT-56400
2023-05-12 12:54:52 +00:00
Bogdan Mukvich 303f7493cc Do not publish SBOM artifact by default
* In case we generate several artifacts like in kotlin-compiler
there are separate jar and zip modules which differ in content
2023-05-10 16:03:01 +00:00
Bogdan Mukvich bbe5418a85 Add SBOM to dist compiler task 2023-05-10 16:03:01 +00:00
Bogdan Mukvich d78e30a5f5 Generate SBOM for kotlin-compiler.zip 2023-05-09 08:46:07 +00:00
Bogdan Mukvich 60b2dffeb3 Ignore SBOM in reproducible build 2023-05-09 08:46:07 +00:00
Bogdan Mukvich dccb7a221c Add SBOM plugin and configuration 2023-05-09 08:46:06 +00:00
Bogdan Mukvich 5ac255f4dc Add JDK 11 to kotlin build env 2023-05-09 08:35:07 +00:00
Bogdan Mukvich 0188e79df7 Run maven tests on JDK 8 by default 2023-05-04 10:51:52 +00:00
Bogdan Mukvich 1fcc843056 Create Nashorn in maven integration tests JS compatible with JDK 11 2023-05-04 10:51:52 +00:00
Bogdan Mukvich d95e3dbf17 Run maven plugin tests using kapt with dagger with JDK 8 2023-05-04 10:51:52 +00:00
Bogdan Mukvich 74cb25c3eb Create configuration for maven integration tests with JDK 8 2023-05-04 10:51:52 +00:00
Bogdan Mukvich c4f4249e83 Update maven invoker plugin 2023-05-04 10:51:52 +00:00
Bogdan Mukvich a7396d8c10 Make gradle integration proguard test JDK 11 compatible 2023-04-27 12:25:21 +00:00
Bogdan Mukvich 0299d2c9e2 Use JDK 8 as JAVA_HOME for android tests
* android sdk tools binaries run in a child process relies on JAVA_HOME
* old android sdk tools can run only under JDK 8, requiring javax libs
2023-04-27 12:25:21 +00:00
Bogdan Mukvich b0d964ec8b Use JDK 8 as JAVA_HOME for kapt tests
* kapt tests launch scripts in a child process relied on JAVA_HOME
* tests fail under JDK 11 due to illegal reflexive access
2023-04-27 12:25:20 +00:00
Bogdan Mukvich e7989eecf5 Add function to get toolchain JDK home location 2023-04-27 12:25:20 +00:00
Bogdan Mukvich 1c96a87dca Update dokka to 1.8.10 from dev version 2023-04-12 12:12:08 +00:00
Bogdan Mukvich 18cfc9fcf1 Add space Safe-Merge feature config
KTI-1108
2023-03-27 15:43:47 +02:00
Bogdan Mukvich 24d4f186ba [Gradle, JS] Fix pom.xml publication to OSS sonatype 2023-03-13 14:25:52 +00:00
Bogdan Mukvich 332ce81408 [Gradle, JS] Fix pom.xml publication to OSS sonatype 2023-02-28 16:29:47 +00:00
Bogdan Mukvich e988ac20f0 Update dokka 1.8.0-dev with OOM fixes 2023-01-26 14:13:19 +00:00
Bogdan Mukvich c34ae23465 Fix file permissions affecting build reproducibility
File permissions affect reproducibility
on different platforms and system settings (umask, etc.)
KTI-1094
2023-01-17 16:47:52 +00:00
Bogdan Mukvich 71a80c5e36 Reproducible build should not run as root inside docker 2023-01-17 09:33:30 +00:00
Bogdan Mukvich e97ecc13b0 Cleanup pre-push hook
KTI-673
2022-12-20 08:53:41 +00:00
Bogdan Mukvich 9c1a68fcec Specify versions-maven-plugin version explicitly
If version not specified explicitly maven-cli downloads the latest
Regression have been introduced in version 2.14.0
https://github.com/mojohaus/versions/issues/848
2022-12-14 18:15:07 +01:00
Bogdan Mukvich d61c3d1add Exclude gradle integration tests build directory from codebase tests 2022-12-14 08:50:43 +00:00
Bogdan Mukvich c02d5e8dcc Make maven dependencies provided in kotlin-maven-plugin
KTI-1028
2022-12-07 10:28:48 +00:00
Bogdan Mukvich cffeb58ec3 Update maven dependencies in kotlin-maven-plugin
KTI-1028
2022-12-07 10:28:48 +00:00
Bogdan Mukvich 2405dd2c5c Fix flaky behaviour of testThirdPartyCopyrights
KTI-1050
2022-12-07 08:20:47 +00:00
Bogdan Mukvich 5db9c2990a Remove deprecated dependencies resolvers from kotlin-script-util
along with outdated maven dependencies
2022-12-06 09:52:17 +00:00
Bogdan Mukvich 99b33747b9 Remove codebase tests from compiler tests gradle task
KTI-975
2022-11-29 18:53:15 +00:00
Bogdan Mukvich a79927742c Fix code conformance tests after move
#KTI-962
2022-11-07 15:01:31 +00:00
Bogdan Mukvich 080b034950 Move code conformance tests from compiler tests
#KTI-962
2022-11-07 15:01:31 +00:00
Bogdan Mukvich fce8b877c8 Remove unused WriteCopyrightToFile gradle task
#KTI-758
2022-11-07 08:24:19 +00:00
Bogdan Mukvich 1fd779e7f4 Fix dependencies in verification metadata after test 2022-10-13 14:31:32 +00:00
Bogdan Mukvich 67576b02c4 Add test for dependencies verification metadata
Every dependency used in project should have MD5 and SHA-256 hash
^KTI-943
2022-10-13 14:31:32 +00:00
Bogdan Mukvich e4e15f36ce Update dependencies verification metadata 2022-10-13 14:31:32 +00:00