Commit Graph

31 Commits

Author SHA1 Message Date
Alexander.Likhachev 2bd77d5cdc [IGS] Add a non-interactive way to make a consent decision for IDEA builds
When running builds from IDEA, especially tests, the interactive consent request is barely noticeable. Also, some of the tools windows are non-interactive terminals. Thus, we detect the IDEA builds and fail fast to make it noticeable.
^KTI-1443 Fixed
2023-11-28 15:32:23 +00:00
Alexander.Likhachev ab5699f106 [IGS] Ask for consent only 5 times
^KTI-1443 In Progress
2023-11-28 15:32:23 +00:00
Dmitrii Krasnov 10a6d8fd2c [Gradle IT] Added configuration for running IT with k/n from master
[Gradle] Updated kotlin-build-gradle-plugin to 0.0.40

#KT-45978 Ready for Review


Merge-request: KT-MR-12509
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
2023-10-24 08:38:51 +00:00
Alexander.Likhachev 9dd4241a70 [Build, IGS] Make the consent checker tests parameterized tests 2023-09-07 17:32:37 +00:00
Alexander.Likhachev c7b2240c8e [Build, IGS] Add support for checking global consent 2023-09-07 17:32:37 +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
Alexander Udalov 4af1970b28 Build: allow empty build cache url to disable it 2023-08-08 11:25:20 +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 73f6316f27 [repo] Enable warnings as errors for Gradle Kotlin scripts 2023-07-12 12:49:32 +00:00
Alexander.Likhachev 19073b96a7 [Build] Add a property to disable usernames obfuscation for build scans
The property is `kotlin.build.scan.obfuscate.username`
2023-06-07 12:33:10 +00:00
Alexander.Likhachev 04fcffa664 [Build, IGS] Add a consent details document link
Related to KTI-1223
2023-06-07 12:33:10 +00:00
Alexander.Likhachev 3273ee4519 [Build, IGS] Add a plugin-switch property
The plugin is not being actually applied until the `kotlin.build.internal.gradle.setup` property is explicitly set to enable the plugin logic.
#KTI-1223 Fixed
2023-05-17 19:36:15 +00:00
Alexander.Likhachev ecbf5abb81 [Build, IGS] Don't run a separate thread as it leads to problems with user input
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev 1e583d2946 [Build, IGS] Add logging to InternalGradleSetupSettingsPlugin
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev 2a634ead6f [Build, IGS] Specify the used value in the case of a property override
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev cf03863b65 [Build, IGS] Ignore non-existing keys during setup file parsing
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev ea38cfebf2 [Build, IGS] Implement InternalGradleSetupSettingsPlugin
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev f04f1d18c4 [Build, IGS] Implement ConsentManager
#KTI-1223 In Progress
2023-05-17 19:36:14 +00:00
Alexander.Likhachev 6804d0a0af [Build, IGS] Implement LocalPropertiesModifier
#KTI-1223 In Progress
2023-05-17 19:36:14 +00:00
Alexander.Likhachev e30b72fa8f [Build, IGS] Deserialize setup json using kotlinx-serialization-json
#KTI-1223 In Progress
2023-05-17 19:36:14 +00:00
Alexander.Likhachev 188203197b [Build] Add internal-gradle-setup settings plugin
#KTI-1223 In Progress
2023-05-17 19:36:14 +00:00
Nelson Osacky 06e687addd Upgrade Gradle Enterprise, CCUD
This upgrades the Gradle Enterprise Gradle Plugin and the Common Custom User Data Gradle plugin to the latest versions.

https://docs.gradle.com/enterprise/gradle-plugin/#release_history

https://github.com/gradle/common-custom-user-data-gradle-plugin/releases/tag/v1.9
2023-03-31 15:40:13 +02:00
Artem Kobzar c6e4858bc9 [K/JS] Remove the ability to run Legacy JS backend from the Gradle Plugin 2023-03-28 12:47:04 +00:00
Yahor Berdnikau ce39a02e0a Unify Kotlin daemon JVM arguments settings in Kotlin repo
Now 'kotlin-daemon-config' convention plugin should be added into
settings plugins to configure Kotlin daemon.
2023-03-09 10:16:05 +00:00
Yahor Berdnikau b9d19a864a Unify Kotlin daemon JVM arguments settings in Kotlin repo
Now 'kotlin-daemon-config' convention plugin should be added into
settings plugins to configure Kotlin daemon.
2023-03-09 10:16:05 +00:00
Vyacheslav Gerasimov a51ae33e4d Build: Add -Xmx3g to kotlin.daemon.jvmargs in settings-conventions
To avoid spawning multiple daemons `kotlin.daemon.jvmargs` should be
the same as root gradle.properties and buildSrc
 #KTI-1142
2023-03-01 11:38:35 +00:00
Artem Kobzar cf10bb8871 [K/JS] Fix problem with deployment of artifacts (temporary solution before the KT-MR-9000 will be merged and bootstrapped) 2023-02-27 19:52:17 +00:00
Yahor Berdnikau 7819e2bf54 Add settings convention for JVM toolchain provider 2023-02-13 12:58:31 +00:00
Yahor Berdnikau 920f76b9ef Add settings convention for Gradle enterprise 2023-02-13 12:58:30 +00:00
Yahor Berdnikau b7f50aeaf2 Introduce repo settings conventions
First convention is to configure Gradle build cache.
2023-02-13 12:58:30 +00:00