Commit Graph

51 Commits

Author SHA1 Message Date
Sergej Jaskiewicz e4d32f3615 Bump kotlin-build-gradle-plugin version to 0.0.39
This is so that the new APIs added in
d50c072af0 could be used in subprojects
that depend on kotlin-build-gradle-plugin
2023-01-05 10:13:38 +00:00
Alexander Shabalin 44ea1debf4 [K/N] Fix performance build ^KT-53776
Merge-request: KT-MR-8119
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-12-22 12:39:33 +00:00
Yahor Berdnikau 2fac6fb125 Revert "Native: fix benchmarksAnalyzer build configuration"
This reverts commit 6979271998.

Better approach via JVM toolchain was added in this commit: 737fdf31f9

Toolchain approach ensures both Java and Kotlin compilation are using
the same JDK version.
2022-11-30 12:02:59 +01:00
Yahor Berdnikau 737fdf31f9 Add missing JVM toolchain into :benchmarksAnalyzer:buildSrc
It fixes Java and Kotlin targets non-equality.
2022-11-29 14:31:48 +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
Svyatoslav Scherbina 6979271998 Native: fix benchmarksAnalyzer build configuration
Likely broken by e07e92c9
2022-11-28 16:46:42 +00:00
Nikolay Krasko a4cd485f48 Remove native-platform 0.14 usage from the buildSrc
It looks like net.rubygrapefruit:native-platform:0.14 is not in
plugins.gradle.org repository anymore.

And it's not used anyway.

> Task :buildSrc:generateExternalPluginSpecBuilders FAILED

'''
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':buildSrc:generateExternalPluginSpecBuilders'.
> Could not resolve all files for configuration ':buildSrc:compileClasspath'.
   > Could not find native-platform-0.14.jar (net.rubygrapefruit:native-platform:0.14).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/plugins.gradle.org/net/rubygrapefruit/native-platform/0.14/native-platform-0.14.jar
'''

Can be reproduced with

```gradle --refresh-dependencies -i tasks -Pkotlin.native.enabled=true```

KTI-986
2022-11-08 21:31:43 +01:00
Vladimir Sukharev 44f638e952 Drop K/N dependency to JCenter 2022-11-03 10:51:56 +00:00
Pavel Punegov c098ba789c [K/N][perf] JS IR Gradle DSL syntax changed to JS
Merge-request: KOTLIN-MR-532
Merged-by: Pavel Punegov <pavel.punegov@jetbrains.com>
2022-10-24 17:58:18 +00:00
Pavel Punegov 259d58c817 [K/N] Rename jsIr preset usage back to js
Merge-request: KT-MR-7467
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2022-10-24 10:44:23 +00:00
Pavel Kunyavskiy b01808ddf5 [K/N] Fix deprecations and warnings in performance infra 2022-10-10 13:14:35 +00:00
Pavel Punegov 1502e6628b [K/N][perf] Workaround KGP bug when dirs are queried instantly 2022-08-18 16:05:29 +00:00
Pavel Kunyavskiy d6f235679b [K/N] Get rid of urls in perf infra code 2022-07-25 21:25:23 +00:00
Pavel Kunyavskiy 3f1e06b32e [K/N] Performance infra fixes 2022-07-19 07:53:10 +00:00
Alexander Shabalin 97c542dd76 [K/N] Fix performance project
Merge-request: KT-MR-6567
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com>
2022-06-30 09:08:23 +00:00
Troels Bjerre Lund 90754d11c1 [K/N] Code cleanup from deprecation warnings
No functionality change; just quieting some warnings
2022-06-14 13:32:24 +00:00
Pavel Punegov 3b53d8694f [K/N][build] Fix build version property usage 2022-04-12 08:33:31 +00: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
Sergey Bogolepov 9b103b35cd [K/N] Replace destinationDir with destinationDirectory.
Breaking change was introduced in e9498c8.
2022-03-30 12:17:22 +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
Nikolay Krasko a2cef5c930 Update shadow plugin to 7.1.2
^KTI-728 Fixed
2022-02-22 21:43:27 +03:00
Dmitriy Novozhilov 3d48f9926f [Build] Update version of kotlin-build-gradle-plugin to 0.0.35 2022-02-18 17:44:44 +03:00
Elena Lepilkina bee188dc8b [K/N][perf] Turn on cinterop commonization 2022-02-17 09:43:43 +00:00
Elena Lepilkina 015920257f [K/N][perf] Adopt benchmarks plugins and tools to support both macosX64 and macosArm64 2022-02-17 09:43:42 +00:00
Elena Lepilkina f67656aeba [K/N][perf] Added macosArm64 target to benchmarksAnalyzer 2022-02-17 09:43:42 +00:00
sebastian.sellmair eecc63594c benchmarksAnalyzer: Remove workaround for KT-50847 2022-01-25 16:59:27 +00:00
Elena Lepilkina b8af589137 [K/N][perf] Added workaround to build benchmarks analyzer artifacts 2022-01-18 17:08:10 +03: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
Alexander Udalov 8a7d86c4e5 Build: remove obsolete argument -Xskip-runtime-version-check
It was removed in KT-41664.
2021-11-30 17:13:10 +01:00
Elena Lepilkina 9ad62eb1fd [K/N][perf] Added more buildSrc files in excluding list in performance infrastructure 2021-10-12 11:35:00 +00:00
Ilya Matveev b07f78cc8b [K/N][perf] Workaround broken buildSrc compilation
benchmarksAnalyzer/buildSrc includes sources from K/N's 'build-tools'
subproject. But now these sources depend on the old Kotlin/Native
Gradle plugin (aka tools/kotlin-native-gradle-plugin) causing
compilation errors when building benchmarksAnalyzer/buildSrc.

This patch works around this problem by ignoring the file that
brings this dependency.
2021-10-07 10:19:33 +00:00
Abduqodiri Qurbonzoda 9a5a3bfdfb Advance kotlin.browser and kotlin.dom packages deprecation level to ERROR #KT-39330 2021-09-20 12:28:07 +00:00
Elena Lepilkina 8924730320 [K/N][perf] Added option to analyze benchmarks without DB connection 2021-09-08 18:53:18 +00:00
Mikhail Glukhikh ed035d99ab Migrate -Xopt-in to -opt-in in Gradle Kotlin scripts 2021-09-03 15:40:47 +03:00
Dmitriy Novozhilov d7368c341e [Build] Update kotlin-build-gradle-plugin version to 0.0.32 2021-08-05 15:22:41 +03:00
Elena Lepilkina dcd61c292d [K/N][perf] Fix kotlin language version in kotlin-dsl plugin for performance subproject 2021-08-04 10:39:53 +00:00
Pavel Punegov 269f83f86e Update kotlin-build-gradle-plugin to 0.0.31 2021-07-05 19:43:28 +00: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
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 b389fd6667 [performance][build][kotlin-build-gradle-plugin] version 0.0.27 (fix) 2021-05-04 15:44:19 +00: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 ab68bb6ddb [performance] enable "swift run" 2021-03-05 09:53:26 +00:00
Vasily Levchenko 20aef57677 [performance] resolve issue with movement of kotlinx-metadata-klib and some bintray clean up 2021-03-03 14:53:19 +00:00
Vasily Levchenko f87132fff4 [performance] don't override user defined properties with fixed values 2021-02-26 12:51:53 +01:00
Vasily Levchenko c9e0928038 [performance] enable project performance
(cherry picked from commit 947c3bd92b2ee8d252619cf987427a7e195191cb)
2021-02-26 12:51:53 +01:00
LepilkinaElena a403b9ff05 Support for stable and unstable benchmarks. Refactoring to get separate tables for metrics. (#4641) 2021-01-26 17:38:02 +03:00
Alexander Shabalin 28ea767570 Build Render on demand (#4564) 2020-12-14 15:25:36 +01:00
LepilkinaElena e940a1d6bb Fix usages of ArgType.Choice in benchmarks (#4562) 2020-12-14 15:25:36 +01:00