31 Commits

Author SHA1 Message Date
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
Yahor Berdnikau 0cad069522 [Build] Pin api and language level to 1.8 in Kotlin compiler modules used by KGP
This is required to be able to compile KGP and it's dependencies which
set LV to 1.4 when repo will use LV 1.9. This caused by the change how
enums are compiled (KT-48872).
2023-02-18 13:26:54 +00:00
Ilya Gorbunov 59131f8138 Use BCV plugin to dump and check public API of Kotlin Gradle plugin-related artifacts 2022-11-18 06:00:18 +00:00
Sebastian Sellmair 7e1ad71996 [Gradle] kgp-idea: Demote stdlib dependency to compileOnly
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 60c969fe06 [Gradle] Replace previous kgp Internal and Experimental annotations
^KT-54029 Verification Pending
2022-09-19 16:03:45 +00:00
Yahor Berdnikau 55e1061862 Mark testFixtures dependencies as optional in published pom
Same as Gradle does by default.

^KT-53670 Fixed
2022-08-24 11:19:09 +02:00
sebastian.sellmair 5caa5c5ab2 [kpm] kgp-idea: Skip unpublishable variants for testFixtures publication
^KT-52568 Verification Pending
2022-06-17 22:27:11 +00:00
sebastian.sellmair 252c297112 [kpm] Create new :kotlin-gradle-plugin-proto module 2022-06-17 22:26:51 +00:00
sebastian.sellmair 132743cb7a [kpm] kgp-idea: Publish testFixtures
^KT-52568 In Progress
2022-06-17 22:26:47 +00:00
sebastian.sellmair 4f4f749c08 [kpm] Replace KotlinExternalModelContainer with new Extras implementation
This newly introduced `Extras` shall present a more generic mechanism
of attaching data of a given type to any entity.
2022-05-23 14:40:49 +00:00
Alexander Likhachev eda759ba31 [Build] Avoid buildscript root capture into task action
#KT-44611 In Progress
2022-04-19 00:39:24 +03:00
Yahor Berdnikau 78cc2365b0 Fix gradle api dependency version in variants
Common SourceSet was forcing gradle api version to be the same
in all plugin variants via 'extendsFrom(..)'.

^KT-49227 In Progress
2022-04-12 14:48:48 +00:00
Yahor Berdnikau 35c6f709db Update gradle plugin dependencies in 'kotlin-gradle-plugin-idea'
^KT-49227 In Progress
2022-04-04 20:38:00 +02:00
sebastian.sellmair 310ab12a92 kotlin-gradle-plugin-idea: Replace special -for-compatibility-tests publication
... with separate module intended to download and prepare
the `kotlin-gradle-plugin-idea` classpath used for testing
backwards compatibility.
2022-03-22 18:45:57 +01:00
sebastian.sellmair e55bba9c4c [KPM] kotlin-gradle-plugin-idea: Bump minimalBackwardsCompatibleVersion
KT-51386
2022-03-17 15:39:48 +00:00
sebastian.sellmair a4eb62e317 [KPM] kotlin-gradle-plugin-idea: Use special publication for backwards compatibility tests
KT-51386
2022-03-17 15:39:47 +00:00
sebastian.sellmair 1a5fc84080 [KPM] Implement initial kpm/idea dependency resolution
^KT-51386 Verification Pending
2022-03-17 15:39:46 +00:00
sebastian.sellmair 4a02e88df1 [KPM] kotlin-gradle-plugin-idea: Publish sources and javadoc jars
KT-51262
KT-51220
2022-02-18 16:31:06 +00:00
sebastian.sellmair 5ef90b4279 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:34 +00:00
sebastian.sellmair 18d3854097 [KPM] Implement IdeaKotlinProjectModelObjectGraphTest
KT-51262
KT-51220
2022-02-17 20:19:32 +00:00
sebastian.sellmair 17c6274bf0 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:26 +00:00
sebastian.sellmair 06b2f83774 [KPM] kotlin-gradle-plugin-idea: Improve testing with snapshots
KT-51262
KT-51220
2022-02-17 20:19:26 +00:00
sebastian.sellmair 4371f0fad9 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:25 +00:00
sebastian.sellmair 82ec54aead [KPM] kotlin-gradle-plugin-idea: Implement -Psnapshot property
When set, the backwards compatibility test will run against
a locally installed snapshot version

KT-51262
KT-51220
2022-02-17 20:19:24 +00:00
sebastian.sellmair abd21a6956 [KPM] kotlin-gradle-plugin-idea: bump minimalBackwardsCompatibleVersion
KT-51262
KT-51220
2022-02-17 20:19:22 +00:00
sebastian.sellmair cf1ffb9cf6 [KPM] :kotlin-gradle-plugin-idea: OptIn InternalKotlinGradlePluginApi
KT-51262
KT-51220
2022-02-17 20:19:17 +00:00
sebastian.sellmair 55448943af [KPM] Implement BackwardsCompatibilityDeserializationTest
KT-51262
2022-02-17 20:19:16 +00:00
sebastian.sellmair 93dac93dbe [KPM] :kotlin-gradle-plugin-idea: Use gradle-plugin-common-configuration
^KT-51262
2022-02-17 20:19:15 +00:00
sebastian.sellmair 113e363b22 [KPM] :kotlin-gradle-plugin-idea: Set language- and apiVersion to 1.4
^KT-51262
2022-02-17 20:19:14 +00:00
sebastian.sellmair 001fd373f2 [KPM] :kotlin-gradle-plugin-idea: Use kotlinStdlib() dependency
^KT-51262
2022-02-17 20:19:14 +00:00
sebastian.sellmair e91785ba39 [KPM] Implement initial IdeaKotlinProjectModelBuilder
- Introduce `kotlin-gradle-plugin-idea` module that allows
to share models between the IDE and KGP

- Add `kotlin-gradle-plugin-idea` to the RuntimePublicAPITest to
ensure binary compatibility

^KT-51262
2022-02-17 20:19:12 +00:00