Commit Graph

441 Commits

Author SHA1 Message Date
Zalim Bashorov cbf7497f76 [Wasm, JS] Update v8 to 10.9.194
It turned out that 10.9.130 is not available for intel based macs (mac64)
2022-11-11 16:20:43 +01:00
Leonid Startsev 2aede50306 Update BCV to 0.12.0; use JAR dump mode for kotlinx-metadata-jvm and
therefore remove BCV from kotlinx-metadata project.

Introduce @IgnoreInApiDump to workaround issue#104 in BCV.
2022-11-10 13:30:12 +00:00
Leonid Startsev dd985d8209 Add Binary Compatibility Validator to kotlinx-metadata projects
Initiate API dumps
2022-11-10 13:30:08 +00:00
Zalim Bashorov d29010807a [Wasm] Apply recent changes in TFR proposal and update v8
Type index immediate was added to call_ref and return_call_ref instructions.
More details here https://github.com/WebAssembly/function-references/pull/76
2022-11-09 13:44:38 +01:00
Zalim Bashorov 21c4580e20 [JS, Wasm] Update Nodejs to the current LTS (18.12.1) and add useful links 2022-11-08 14:31:43 +00:00
Sebastian Sellmair 33adebe5bf [Gradle][MPP] Add k.g.p-tcs-android module for prototyping
KT-54766
2022-11-07 13:39:50 +00:00
Dmitriy Novozhilov fa697f4eab [Build] Exclude atomicfu-runtime from JPS build 2022-10-19 11:09:31 +00:00
Jerome Prinet 74ba175255 Update Gradle Enterprise plugin to 3.11.2 2022-10-19 12:41:51 +02:00
Jerome Prinet 3b7b36bcc1 Update Gradle Enterprise plugins 2022-10-19 12:41:51 +02:00
Yahor Berdnikau ed25939e58 Update kotlinx:dataframe version to 0.8.1 2022-10-19 11:20:03 +02:00
Bogdan Mukvich 1fd779e7f4 Fix dependencies in verification metadata after test 2022-10-13 14:31:32 +00:00
Bogdan Mukvich e4e15f36ce Update dependencies verification metadata 2022-10-13 14:31:32 +00:00
Nikolay Krasko 80c0c33670 Drop support for old idea versions in verification-metadata.xml 2022-10-12 08:20:27 +00:00
Nikolay Krasko 3853f228af Add a comment about implicit dependency between compiler and plugin
^KTI-746 Fixed
2022-10-12 08:20:24 +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
Sebastian Sellmair 8189d7b254 [Gradle] Implement kotlin-gradle-plugin-annotations module
This will include Internal* and *Experimental annotations for the
Kotlin Gradle Plugin. The separate module is proposed, so that
additional modules can use those annotations without
a dependency to the full kotlin-gradle-plugin-api module
(see -idea modules)

^KT-54029 WIP
2022-09-19 16:03:44 +00:00
Abduqodiri Qurbonzoda dce62275c6 Fix daemon-common-new compile 2022-09-17 01:06:56 +00:00
Anže Sodja 17cd0d7dbc [Assign plugin] Add Gradle plugin and IDE dependencies for Assignment compiler plugin 2022-09-16 10:12:41 +03:00
Anže Sodja 09d6dfc8bf [Assign plugin] Add a compiler plugin for overloading assign ('=') operator 2022-09-16 10:12:41 +03:00
Igor Yakovlev 21328fea9d [WASM] Bump v8 version to 10.7.157 2022-09-15 16:27:43 +00:00
Dmitriy Novozhilov 69a857649f [Build] Exclude :tools:kotlin-project-model-tests-generator from JPS build 2022-09-12 11:29:15 +00:00
Vyacheslav Gerasimov 15d797b5b5 Build: Use protobuf from kotlin-dependencies repo
#KTI-892
2022-09-01 19:28:16 +02:00
Nikita Bobko 276923834f 1/5 Replace source dependency on kotlin-reflect with binary dependency
Review: https://jetbrains.team/p/kt/reviews/6753

Meaningful semantic change was splitted into 5 commits to simplify the
change review. Sinle commit would be too big.

Why replace source to binary: to get rid of kotlin-reflect in Kotlin
plugin artifact KTIJ-22276

Technically, versions.kotlin-reflect should be the same as in minimal
supported IDEA (which is 213 IDEA and 1.5.10 version of reflect) but,
unfortunatelly, 1.5.10 is too old for the Kotlin repo.
ScriptCompilerTest.testTypeAliases fails if you try to use such an old
version:

    java.lang.ClassCastException: kotlin.reflect.jvm.internal.impl.serialization.deserialization.descriptors.DeserializedTypeAliasDescriptor cannot be cast to kotlin.reflect.jvm.internal.impl.descriptors.ClassDescriptor
        at kotlin.reflect.jvm.internal.KClassImpl$Data$nestedClasses$2.invoke(KClassImpl.kt:102)
        at kotlin.reflect.jvm.internal.KClassImpl$Data$nestedClasses$2.invoke(KClassImpl.kt:47)
        at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:92)
        at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:31)
        at kotlin.reflect.jvm.internal.KClassImpl$Data.getNestedClasses(KClassImpl.kt)
        at kotlin.reflect.jvm.internal.KClassImpl.getNestedClasses(KClassImpl.kt:240)
        at org.jetbrains.kotlin.scripting.compiler.test.ScriptCompilerTest.testTypeAliases(ScriptCompilerTest.kt:46)

Well, let's use 1.6.10 which is kotlin-reflect bundled into 221.
2022-08-22 15:43:30 +02:00
Abduqodiri Qurbonzoda 3ea653b0e1 [Build] Add Google maven repository to the cache-redirector list 2022-08-17 14:28:23 +00:00
Leonid Startsev c1b0ad418b Activate MetaSerializable test and update serialization dependency 2022-08-17 11:43:37 +00:00
Alexander Likhachev b5491177c9 [Gradle] Add Gradle 7.5+ variant 2022-08-16 08:47:31 +00:00
Nikolay Krasko 48e8c0020d Update dokka to 1.7.0
This should fix reproducibility
(https://youtrack.jetbrains.com/issue/KT-52069/Dokka-resulting-htmls-are-not-stable)

^KTI-893 Fixed
2022-08-15 12:18:12 +00:00
Abduqodiri Qurbonzoda 983c7adb1e Remove :libraries:tools:stdlib-compiler-classpath project
It was used as a workaround to allow jvmTarget=1.6 in stdlib.
2022-08-13 01:42:43 +03:00
Abduqodiri Qurbonzoda de10a5b8fe Upgrade dex-member-list version to 4.1.1
The old dex-method-list version 3.0.0 used a dalvik-dx that could not
parse MethodType introduced in jvm-7 bytecode.
2022-08-13 01:40:04 +03:00
sebastian.sellmair f45a073dc0 [Gradle][KT-53342] Run functionalTests w/ AGP 7.2.1 and Java 11 2022-08-08 19:04:23 +00:00
Nikolay Krasko d65aa67425 Update dependency verification command 2022-08-05 12:50:57 +00:00
Nikolay Krasko 07d6431235 Forgotten md5 hashes in verification-metadata.xml 2022-08-05 12:50:57 +00:00
Victor Petukhov 0198eeeafe [Compiler tests] Remove -Dkotlin.ni flag from tests 2022-08-02 10:29:41 +00:00
Yahor Berdnikau b28819a186 Enable signing for publication into Gradle plugin portal
^KT-53172 Fixed
2022-07-21 11:52:46 +02:00
Yahor Berdnikau ef28967216 Update Gradle publish plugin to final 1.0.0 version
^KT-53172 In Progress
2022-07-21 11:52:31 +02:00
Dmitriy Novozhilov c249eb9d2d [Build] Specify lombok dependency version in versions.properties 2022-07-20 10:12:22 +00:00
Svyatoslav Kuzmich 11c8c01a50 [Wasm] Update v8 shell to v10.5.207 2022-07-19 18:46:52 +02:00
Sergej Jaskiewicz ea556ce428 [JS IR] Implement stepping tests for Kotlin/JS
We already have stepping tests for Kotlin/JVM.
They are helpful for testing the correctness of the generated
debugging information.

They are better than line number tests in that they allow to test the
_behavior_, not the generated data. The structure of the data may change
even if the behavior stays the same. For that reason, stepping tests
are more stable.
2022-07-19 16:06:23 +00:00
Igor Yakovlev dab1ec7aff [WASM] Download v8 with D8 gradle plugin and make version property in versions.properties 2022-07-07 16:50:40 +02:00
nataliya.valtman 4b0ac511b2 Add configuration_cache tag into statistic 2022-07-06 14:35:17 +00:00
Ilya Chernikov bb996c1b27 Switch kotlin version to 1.8
with appropriate fixes in testdata, tests and other
places.
2022-06-29 10:20:30 +02:00
Yahor Berdnikau 9b768d647c Update Gradle publish plugin to 1.0.0-rc-3 version
This should fix publishing multiple artifacts with the same hash and
remove requirement of custom action from Gradle team.
2022-06-28 10:50:00 +02:00
mvicsokolova 8053746ae0 kotlinx.atomicfu JVM/IR compiler plugin support
Merge-request: KT-MR-6541
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
2022-06-26 07:17:06 +00:00
Dmitriy Novozhilov d835005647 [Build] Automatically exclude some modules from JPS build
Those modules can not be compiled by JPS for different reasons (and it's
  ok), so now they are excluded from compilation during import (before
  it was needed to manually add all those modules into compiler excludes)
2022-06-21 14:10:36 +00:00
Yahor Berdnikau 4d47cf07be Update org.robolectric:android-all to 4.4_r1-robolectric-r2
Possibly could fix flaky parcelize plugin tests on Windows OS.
2022-06-21 11:26:30 +00:00
sebastian.sellmair 252c297112 [kpm] Create new :kotlin-gradle-plugin-proto module 2022-06-17 22:26:51 +00:00
Yahor Berdnikau b6edf9a86e Shadow Gradle plugin 3rd party dependencies
Such dependencies will be embedded into plugin jar and their package
will be relocated. This is need to avoid dependency conflicts with
user build scripts dependencies or other Gradle plugins.

Kotlin project dependencies are not shadowed.

^KT-46034 Fixed
2022-06-15 10:57:56 +02:00
mcpiroman 529c03ab08 Switch to auto generated IR tree
Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
2022-06-13 18:58:05 +02:00
Yahor Berdnikau 6168679933 Fix JPS import
After recent changes 'jar' tasks in some projects were disabled.
I've also added to search in 'result' (kotlin-reflect) and 'shadowJar'
tasks for manifest.
2022-05-25 13:45:51 +02:00
Yahor Berdnikau 262fb138ba Update kotlinx-dataframe to 0.8.0-rc-8 version 2022-05-23 17:23:28 +02:00