Yan Zhulanow
e67042118a
[Pill] Use the multi-platform kotlin-test library (see KT-61969)
...
Pill import broke after the 'kotlin-test' build refactoring
(now it's a proper KMP project). This change adapts source set handling
in Pill, providing support both for Java and Kotlin KMP source sets.
2024-01-11 16:44:59 +00:00
Yan Zhulanow
c499095382
[Pill] Fix importing after ideaHomePathForTests() signature change
...
Before, the 'File' was returned. Now, it's 'Provider<Directory>'.
2023-12-11 19:31:57 +00:00
Yan Zhulanow
7129bcc2b1
[Pill] Support production-on-test dependencies
2023-12-07 08:53:35 +00:00
Yan Zhulanow
a7f6029076
[Pill] Delete obsolete run configurations
2023-12-07 08:53:35 +00:00
Yan Zhulanow
d9a33b53ce
[Pill] Update Kotlin source set fetching
2023-12-07 08:53:35 +00:00
Yan Zhulanow
e4da639e1c
[Pill] Remove 'jps-compatible' plugin from the root Kotlin project
...
'excludedDirs' definition is not needed anymore, so the plugin usage
is not really useful.
2023-12-07 08:53:35 +00:00
Yan Zhulanow
d4153c1458
[Pill] Remove 'excludedDirs' usage from Pill extension
...
As it was the last usage of the Pill extension, it is going to be
removed in subsequent commits.
2023-12-07 08:53:35 +00:00
Yan Zhulanow
e87ef36ef8
[Pill] Remove variant support from Pill, always import BASE modules
...
Pill variant configurations in build.gradle(.kts) files will be removed
in subsequent commits.
2023-12-07 08:53:35 +00:00
Yan Zhulanow
63379b2c03
[Pill] Only add the 'jvmJar' artifact for the main source set
2023-12-07 08:53:34 +00:00
Yan Zhulanow
4e8a5eec7f
[Pill] Support KMP 'jvmJar' task convention
2023-12-07 08:53:34 +00:00
Yan Zhulanow
a508a650a5
[Pill] Include embedded dependencies together with the module itself
2023-12-07 08:53:34 +00:00
Yan Zhulanow
a703fc0f17
[Pill] Remove obsolete IDE plugin artifact creation
2023-12-07 08:53:34 +00:00
Yan Zhulanow
680db7c317
[Pill] Allow kotlin_dom_api_compat artifact
2023-12-07 08:53:34 +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
Yahor Berdnikau
c701677e45
[repo] Remove the shadow version from version.properties
2023-08-09 08:36:45 +00:00
Alexander.Likhachev
01276bbe49
[Build] Fix buildscripts deprecation warnings
...
#KTI-1221 In Progress
2023-06-22 15:16:08 +00:00
Yahor Berdnikau
eb4e96a113
Add kotlin-build-tools-enum-compat workaround
...
It acts as a workaround for the case when build tools or dependencies
are compiled with latest 'kotlin-stdlib' version, but at a runtime older
'kotlin-stdlib' is provided, which does not know about new
`EnumEntries`.
^KT-57317 Fixed
2023-04-21 14:57:17 +00:00
Dmitriy Novozhilov
25b1fbc541
[Build] Pin api and language level to 1.8 in :pill:pill-importer module
...
^KT-56687
2023-02-18 13:26:54 +00:00
Yan Zhulanow
6b198fd85f
[Pill] Support 'java-test-fixtures' plugin
2022-11-11 11:28:33 +00:00
Yan Zhulanow
47b5ea0fc7
[Pill] Fix unit test running
2022-11-11 11:28:33 +00:00
Yan Zhulanow
8e494ceb99
[Pill] Update default run configurations
2022-11-11 11:28:32 +00:00
Yan Zhulanow
28625e135d
[Pill] Disallow 1.6 JVM target in generated facets
2022-06-16 18:31:48 +00:00
Vyacheslav Gerasimov
7157a54155
Fix unnecessary usages of Locale.getDefault()
2022-05-06 22:08:25 +00:00
Vyacheslav Gerasimov
dcd17e41a4
Fix capitalization related deprecation warnings
2022-05-04 19:15:01 +00:00
Yahor Berdnikau
e38ca74927
Fix compilation warnings in 'pill-importer' project
...
These warnings have fail compilation with bootstrap.
2022-05-03 11:47:30 +00:00
Yan Zhulanow
736c6c4d29
Pill: Import Java toolchain configuration correctly
...
Before, all project modules used 'inheritedJdk'. However, some Kotlin
modules now require JDK 8, while others depend on new API in JDK 11.
2022-03-14 17:53:54 +09:00
Nikolay Krasko
85521f01f8
Update shadow plugin 6.1.0 -> 7.1.1
...
Version 7.1.1 is absent in jcenter, so additional repository was added
in some modules.
Leave old version in NewMultiplatformIT.kt because of
`This version of Shadow supports Gradle 7.0+ only. Please upgrade.` error.
^KTI-733 Fixed
2021-12-20 21:39:00 +03:00
Yan Zhulanow
8916626cc3
[Pill] Preserve kotlin_test_wasm_js library artifact
2021-11-12 20:09:50 +09:00
Dmitriy Novozhilov
0a902c1bef
[Build] Remove dist_root artifact from JPS project configuration
...
This artifact was used to build compiler artifact during each project
build, which is not needed for running compiler tests. Removal of
this artifact from build chain reduces time of build for ~3 seconds
which is a lot for rebuilds after minor changes (which are usually
take only few seconds)
2021-11-09 20:06:08 +03:00
Yan Zhulanow
cb74247f8f
Pill: Update options passed in test configurations
2021-10-19 19:55:08 +03:00
Yan Zhulanow
1f2508c177
Pill: recognize 'protobufCompare' as a test module
2021-10-19 19:55:07 +03:00
Yan Zhulanow
f1fa17f896
Pill: Better support for compiler arguments in generated facets
2021-10-19 19:55:07 +03:00
Yan Zhulanow
6cd25984ca
Pill: Always map kotlin-reflect-api to the kotlin-reflect.jar artifact
2021-10-19 19:55:06 +03:00
Yan Zhulanow
17120bf258
Pill: Fix Kotlin facet creation
2021-10-19 19:55:05 +03:00
Yan Zhulanow
099a44283f
Pill: Disable Kotlin IDE plugin artifact building if not in cooperative mode
2021-10-19 19:55:05 +03:00
Yan Zhulanow
5627bbb535
Pill: Remove IDEA Ultimate run configuration
2021-10-19 19:55:04 +03:00
Yan Zhulanow
66005d9c3b
Pill: Remove Android Studio support
2021-10-19 19:55:03 +03:00
Vyacheslav Gerasimov
a5d31fe2e2
Build: Fix warnings in pill
...
Required for Gradle 7+ #KTI-559
2021-09-26 23:36:40 +03:00
Alexander Udalov
e0643a4185
Build: use -Xskip-runtime-version-check globally in project
2021-08-06 22:36:22 +02:00
Yan Zhulanow
5fca37fa0f
Pill: Do not delete existing artifacts for JPS build
2021-03-16 19:21:49 +09:00
Yan Zhulanow
cfd585e221
Pill: Remove 'kotlin-coroutines-experimental-compat' from mapped libraries
2021-03-16 19:21:49 +09:00
Yan Zhulanow
4e8ec69ca7
Pill: Support kotlinx.serialization plugin
2021-03-16 19:21:49 +09:00
Yan Zhulanow
cc41ccc3b9
Pill: Disable all compiler plugins by default
2021-03-16 19:21:48 +09:00
Yan Zhulanow
61cd97b340
Pill: Remove unused EmbeddedComponents class
2021-03-16 19:21:48 +09:00
Yan Zhulanow
a00f3b97c5
Pill: Move utility classes to util package
2021-03-16 19:21:48 +09:00
Yan Zhulanow
6da03c0cda
Pill: Move project model out of parser file
2021-03-16 19:21:48 +09:00
Yan Zhulanow
e4ce48d9ef
Pill: Extract artifact-related components to their own package
2021-03-16 19:21:47 +09:00
Yan Zhulanow
901bfbb3c7
Pill: Create KotlinArtifact only for variants that include BASE
2021-03-16 19:21:47 +09:00
Yan Zhulanow
6ff68311c1
Pill: Support module prefixes
2021-03-16 19:21:47 +09:00
Yan Zhulanow
a561fb85ad
Pill: minor, fix inspection warnings
2021-03-16 19:21:47 +09:00