Commit Graph

56 Commits

Author SHA1 Message Date
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
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
Yahor Berdnikau a14d0d148b Simplify Kotlin bootstrap application in the project
Move all the code to apply Kotlin bootstrap into settings script plugin
which does following:
- configures based either on the repo root 'local.properties' or on the
root project gradle properties or on the repo root 'gradle.properties'
current type of bootstrap
- automatically adds Kotlin bootstrap repository with
exclusive content, so bootstrap dependencies will not be by mistake
downloaded from other repository
- automatically forces all Kotlin plugins applied in the build to use
bootstrap version

This script should be applied only in project settings.gradle and then
it does all the configuration by itself.
2022-11-29 14:31:48 +00:00
Yahor Berdnikau c198d4d90d Simplify cache-redirector script apply method
Now it could be only be applied inside settings file pluginManagement
block. This will update both settings repositories and all projects in
the repo with cache redirection settings.
2022-09-27 14:04:43 +00:00
Nikolay Krasko f7a53a1b24 Force using 2.8.9+ gson version as a dependency
Mitigate https://github.com/google/gson/pull/1991

^KT-51837 Fixed
2022-04-19 15:38:30 +02:00
Pavel Punegov d69df1898d [build] Advance kotlin-build-gradle-plugin version to 0.0.38 in the repo
Use build Gradle plugin version property
2022-04-08 14:42:35 +03:00
Vyacheslav Gerasimov 5e09c3176f Build: Set kotlin.build.cache.push to false by default
#KTI-793
2022-03-13 20:29:12 +00:00
Dmitriy Novozhilov 3d48f9926f [Build] Update version of kotlin-build-gradle-plugin to 0.0.35 2022-02-18 17:44:44 +03:00
Nikolay Krasko b6b983aa2a Update kotlin:kotlin-build-gradle-plugin 0.0.29 -> 0.0.30 (KTI-563)
Remove ultimate mentioning
2021-06-09 22:19:53 +03:00
Nikolay Krasko a4005cef19 Build: Drop ultimate, cidr and kmm from the build (KTI-563) 2021-06-09 17:43:52 +03:00
Alexander Likhachev 3df45f9651 [Build] Bump kotlin-build-gradle-plugin version to 0.0.29 2021-05-18 16:37:36 +03:00
Pavel Punegov 53bf0b1c42 Update Build gradle plugin to 0.0.28 2021-05-12 10:34:36 +03:00
Vasily Levchenko 788d3c022a [build][kotlin-build-gradle-plugin] version 0.0.27
- reading konanVersion and konanMetaVersion from project properties
2021-04-30 10:26:36 +00:00
Dmitriy Novozhilov f5d00716d1 Advance kotlin-build-gradle-plugin version to 0.0.26 2021-03-15 12:13:01 +03:00
Vasily Levchenko 3867cf6ef5 [build] switch to kotlin-build-gradle-plugin:0.0.25 2021-02-24 11:07:14 +01:00
Nikolay Krasko 293f2f9950 Build: Replace Bintray with Space for kotlin-dependencies repository (KTI-466) 2021-01-24 15:04:41 +03:00
Dmitriy Novozhilov 1a3727a17c Build: advance kotlin-build-gradle-plugin version in build files 2020-11-17 18:14:08 +03:00
Kirill Shmakov 4f51367196 Remove build settings of CLion plugin 2020-09-30 19:56:49 +03:00
Dmitriy Novozhilov f39adfdf15 Update version of kotlin-build-gradle-plugin dependency 2020-09-28 12:43:10 +03:00
Vyacheslav Gerasimov 628efcb189 Build: Add kotlin.build.dependencies.iu.enabled property
Alias for intellijUltimateEnabled
2020-07-16 13:00:25 +03:00
Vyacheslav Gerasimov 996e529944 Build: Allow intellijUltimateEnabled without kotlin-ultimate directory
This allows to build against idea ultimate locally
2020-07-16 13:00:24 +03:00
Vyacheslav Gerasimov 64fcbbc89f Build: buildSrc should inherit build cache setup of parent project
https://docs.gradle.org/current/userguide/build_cache.html#sec:build_cache_composite
2020-05-26 10:39:27 +03:00
Ilya Gorbunov 055a1921cc Update kotlin-build-gradle-plugin to 0.0.17 2020-04-02 05:21:10 +03:00
Kirill Shmakov 576948eded Share test debugging between IDEA and AS 2020-03-25 17:46:40 +03:00
nataliya.valtman 915e6107d1 make Bootstrap option available in buildSrc 2020-03-23 08:43:06 +03:00
nataliya.valtman fa74eabbd1 use bootstrap.kotlin.default.version bootstrap for buildSrc 2020-03-04 15:15:32 +03:00
nataliya.valtman 5c6f452c10 Revert "add cleanup dependencies tasks for buildSrc"
This reverts commit 8a8536f8
2020-02-27 15:23:47 +03:00
nataliya.valtman 8a8536f8ae add cleanup dependencies tasks for buildSrc
change embedded kotlin version to bootstrap for buildSrc
2020-02-27 13:55:58 +03:00
Vyacheslav Gerasimov 5aae3b5d27 Build: Add localBuildCacheDirectory property to KotlinBuildProperties 2020-02-25 19:37:33 +03:00
nataliya.valtman d82dc86c71 Reverts commit 13afb2e4 (buildSrc bootstrap version) 2020-02-25 17:08:51 +03:00
nataliya.valtman 13afb2e45e Make kotlin build version for buildSrc the same as for kotlin project 2020-02-23 09:02:22 +03:00
Kirill Shmakov a44fa8db50 Pack LLDB binaries into plugin 2020-01-30 16:40:04 +03:00
Kirill Shmakov 4554f91aff Add cocoa binary dependencies 2020-01-23 13:08:01 +03:00
Vyacheslav Gerasimov 75c94f3b0f Build: Upgrade kotlin-build-gradle-plugin to 0.0.8 2019-12-19 17:45:31 +03:00
Vyacheslav Gerasimov 8d303af395 Build: Add build scan server url setting 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 724884513e Build: Extract build cache setup to kotlin-build-gradle-plugin 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 68ce5dbd90 Build: Use property for disabling/enabling local build cache 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov bfcac5b091 Build: Update kotlin-build-gradle-plugin to 0.0.4 2019-12-13 20:11:18 +03:00
Vyacheslav Gerasimov 6ef3831f14 Build: Take parent directory as rootProject directory in case of buildSrc 2019-12-03 16:16:44 +03:00
Vyacheslav Gerasimov 462d6ac5b6 Build: Add remote build cache parameters for teamcity builds 2019-12-03 16:16:44 +03:00
Vyacheslav Gerasimov d3c1ef9251 Build: Use kotlin-build-gradle-plugin in buildSrc 2019-12-03 16:16:44 +03:00
Kirill Shmakov b76d58de54 Handle case when property is missed 2019-10-15 09:48:15 +03:00
Kirill Shmakov 02cedfde21 Make build more stable 2019-10-14 19:31:03 +03:00
Kirill Shmakov 407e5a5270 Use same models in MPP and CIDR 2019-07-18 15:02:17 +03:00
Vyacheslav Gerasimov d3f9d0866a Build: Improve cache redirector usage in buildSrc settings.gradle 2019-07-02 17:30:06 +03:00
Dmitriy Dolovov 171e226d58 Move 'cidrPluginsEnabled' Gradle flag to local.properties 2019-06-04 08:42:47 +03:00
Dmitriy Dolovov bbdb5e5f0f Reworked joint build (kotlin + kotlin-ultimate)
- Root buildscript classpath no more depends on buildSrc.jar from kotlin-ultimate. This allows to have stable joint builds - w/o occasional "Unresolved reference" errors in buildscripts.
- kotlin-ultimate modules are now included into Kotlin project when two conditions are met: 1) Gradle parameter 'cidrPluginsEnabled' is turned on; 2) kotlin-ultimate Git repo is checked out right to the Kotlin project root (assuming there is 'kotlin-ultimate' directory inside the project root).
2019-06-04 08:42:22 +03:00
Vyacheslav Gerasimov 98a7c5264c Build: Move intellij-sdk contents to prepare-deps 2019-03-20 21:29:16 +03:00