Commit Graph

10666 Commits

Author SHA1 Message Date
sebastian.sellmair ae493e04c0 [kpm] kotlin-gradle-plugin-idea: Update version for backwards compatibility tests
... to "1.7.20-dev-1435 to bootstrap incompatible naming changes
for IdeaKotlin* -> IdeaKpm*
2022-05-25 13:15:48 +00:00
sebastian.sellmair efcdfab9a4 [kpm] Minor: GradleKpmFragmentInternal: Rename _directRefinesDependencies
... to _declaredRefinesDependencies to match the public counterpart
2022-05-25 13:15:47 +00:00
sebastian.sellmair c9a079f908 [kpm] serializationUtil.kt: Implement custom ClassLoaderObjectInputStream
Previously used the Gradle implementation, which had an undesirable
fallback for the case of missing classes in the given class loader.

For our tests, we want to ensure that only the specified class loader
is used.
2022-05-25 13:15:46 +00:00
sebastian.sellmair 7eb6288262 [kpm] kotlin-gradle-plugin: Introduce IdeaKpm* naming convention (2/2) 2022-05-25 13:15:46 +00:00
sebastian.sellmair 904fc00dde [kpm] kotlin-gradle-plugin: Introduce IdeaKpm* naming convention (1/2) 2022-05-25 13:15:45 +00:00
sebastian.sellmair 00edca4532 [kpm] kotlin-gradle-plugin-idea: Introduce IdeaKpm* naming convention (2/2)
Replace the pre-existing `IdeaKotlin` naming convention with `IdeaKpm`
2022-05-25 13:15:44 +00:00
sebastian.sellmair e2755b92aa [kpm] kotlin-gradle-plugin-idea: Introduce IdeaKpm* naming convention (1/2)
Replace the pre-existing `IdeaKotlin` naming convention with `IdeaKpm`
2022-05-25 13:15:43 +00:00
sebastian.sellmair d4dc6a3d71 [kpm] Introduce GradleKpm* naming convention (2/2)
All Gradle specific kpm entities shall be disambiguated by using
the `GradleKpm` prefix. For example `MyEntity` shall now be called
`GradleKpmMyEntity` and a subclass would be called like
`GradleKpmSpecialMyEntity`
2022-05-25 13:15:43 +00:00
sebastian.sellmair dcd47a89dd [kpm] Introduce GradleKpm* naming convention (1/2)
All Gradle specific kpm entities shall be disambiguated by using
the `GradleKpm` prefix. For example `MyEntity` shall now be called
`GradleKpmMyEntity` and a subclass would be called like
`GradleKpmSpecialMyEntity`
2022-05-25 13:15:42 +00:00
sebastian.sellmair e55f00c3d9 [kpm] Introduce Kpm* naming convention (2/2)
All Kpm owned entities shall be disambiguated by using the `Kpm` prefix
E.g. MyEntity has to be called KpmMyEntity and a subclass is called
KpmSpecialMyEntity
2022-05-25 13:15:41 +00:00
sebastian.sellmair 71677ad455 [kpm] Introduce Kpm* naming convention (1/2)
All Kpm owned entities shall be disambiguated by using the `Kpm` prefix
E.g. MyEntity has to be called KpmMyEntity and a subclass is called
KpmSpecialMyEntity
2022-05-25 13:15:40 +00:00
Yahor Berdnikau af6f17c243 Unify kotlinCompilerClasspath for all projects
This will prevent spawning second Kotlin daemon during compilation
except 'buildSrc' compilation. Original change was introduced in
2e515f3945 commit.
2022-05-24 07:58:38 +00:00
Yahor Berdnikau e25778a719 Fix ConcurrentModificationException
This exception is happening on build configuration trying to remove
default jar task artifacts from published one. I've set 'jar' task
to be always disabled instead and just add shadow jar to artifacts.
2022-05-24 07:58:36 +00:00
Yahor Berdnikau cf2d03b914 Move common configuration from /build.gradle.kts into plugin
Move all common to all projects configuration from root build.gradle.kts
into common-configuration convention plugin.
2022-05-24 07:58:36 +00:00
Yahor Berdnikau 262fb138ba Update kotlinx-dataframe to 0.8.0-rc-8 version 2022-05-23 17:23:28 +02:00
Yahor Berdnikau 28f359a3f0 Replace deprecated 'ANDROID_SDK_ROOT' with 'ANDROID_HOME'
This should allow to run build regression benchmarks that are using
Android plugin.
2022-05-23 17:23:24 +02:00
sebastian.sellmair 290fda9c10 [Gradle] Replace o.j.k.g.utils.UnsafeApi with o.j.k.tooling.core.UnsafeApi 2022-05-23 14:40:51 +00:00
sebastian.sellmair 865a91784b Share Test: binary compatibility run configurations 2022-05-23 14:40:50 +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 7d49d3bac7 [Gradle] Don't try to build relative paths for Kapt exclude rules
#KT-52392 Fixed
2022-05-23 11:58:08 +00:00
Ilya Goncharov e452efe51b [Gradle, JS] environment map as input, not nested
Merge-request: KT-MR-6326
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-51532 fixed
2022-05-23 09:28:09 +00:00
Igor Yakovlev b1c93fe53d [WASM] Implement std print 2022-05-20 16:33:58 +02:00
Igor Yakovlev 7f0535ded9 [WASM] Fix test adapter reporting 2022-05-20 16:33:58 +02:00
Igor Yakovlev 15ba9682e8 [GradlePlugin] Add mixed mode for js and wasm compilations 2022-05-20 16:33:57 +02:00
Igor Yakovlev 73a86fffe5 [WASM] Bootstrap std compatibility fix 2022-05-20 16:33:57 +02:00
Igor Yakovlev 8da6ab7a04 [WASM] New VTable format 2022-05-20 16:33:57 +02:00
Dmitriy Novozhilov 29725ad007 [Build] Disable -Werror for libraries if FIR is enabled 2022-05-20 13:33:06 +00:00
Igor Yakovlev 9519d7998b [WASM] Run all std tests with d8 2022-05-20 12:22:43 +03:00
sebastian.sellmair d7bfa02bb3 [tooling-core] Add KotlinToolingVersionOrNull factory function 2022-05-19 12:46:04 +00:00
Dmitriy Novozhilov 993021a71d [Build] Use 1.8 target version instead of 1.6 while using JPS build 2022-05-19 07:14:21 +00:00
Ivan Kylchik 1564f2c549 Mark all declarations that will be evaluated with ir interpreter 2022-05-18 21:19:54 +03:00
Ilya Muradyan 00819c421f [REPL] Report script codegen errors in advance 2022-05-18 10:02:58 +03:00
Anton Lakotka bd299ed12c [Test] Rename gcc* to configCache* variable to avoid ambiguity
^KT-51947
2022-05-18 05:48:42 +00:00
Anton Lakotka 1c65ef28f8 [Test] Update warning message for tasks that disables GCC
cherry-picked from 26b4c946e67b25b7206c37ba56a79e5ffeb04dd6

^KT-51947
2022-05-18 05:48:41 +00:00
Anton Lakotka dfd89a45f7 [Test] Disable Configuration Cache for native tasks
cherry-picked from 538cb41a320df93ca85a194b8566ea44457187ca

^KT-43293
2022-05-18 05:48:40 +00:00
Anton Lakotka d2c6489de9 [Gradle] Mark tasks that not compatible with configuration cache
Gradle 7.4 offers new API that allow to exclude task configuration
from being stored in Configuration Cache.

GCC should be supported in further releases.
* KotlinNativeCompile -- KT-43293
* GenerateProjectStructureMetadata
 and TransformKotlinGranularMetadata -- KT-49933

cherry-picked from 7bdde5f4c025f2f55c0038a8d58e0ea78a0ff151

^KT-51946 Verification Pending
2022-05-18 05:48:40 +00:00
Anton Lakotka 399bd750c1 [Gradle] [Test] Add Gradle 7.4.2 to test versions 2022-05-18 05:48:39 +00:00
Ilya Gorbunov 4a6466e290 Include kotlin.internal package from core/builtins/src into stdlib-common compilation
It is required because internal annotations from there can be used in
other compiled kotlin-stdlib-common sources.
2022-05-17 14:38:44 +00:00
Ilya Gorbunov eb8e701cb5 Make IntrinsicConstEvaluation annotation internal 2022-05-17 14:38:43 +00:00
nataliya.valtman dcdd1cd14e KT-49780 Do not clean outputs after cache corruption 2022-05-17 08:47:23 +00:00
konstantin.tskhovrebov 59b92c02b4 Add OptIn for KotlinNativeArtifactDSL implementation: mute warning. 2022-05-16 13:54:41 +00:00
Ilya Muradyan edacd90a6c [Scripting] Take local repository path from settings if it exists 2022-05-16 12:29:25 +00:00
Ilya Muradyan 46563e93ea [Scripting] Allow transitive resolution of non-JAR artifacts
It allows to resolve libraries sources which is crucial for
Kotlin Notebook plugin.
2022-05-16 11:45:47 +00:00
konstantin.tskhovrebov 84add3a27e KT-44155: Add 'headers' option to Cocoapod config.
It is needed for Cinteroping with pods without module map inside
2022-05-16 10:57:39 +00:00
konstantin.tskhovrebov 4753c3f4a3 KT-52328: Add '-framework' linker flag only if framework exists. 2022-05-16 10:55:46 +00:00
sebastian.sellmair d737c3ebbe [Gradle][MPP] Setup Gradle attributes for commonizer classpath configuration
KT-51583
2022-05-14 13:49:23 +00:00
Dmitriy Novozhilov 032f17920e [Gradle] Add 1.8 and 1.9 api versions to gradle plugin
^KT-52208 Fixed
2022-05-14 09:54:42 +00:00
Andrey Uskov a3d8ccfc15 [build statistics] Allow reporting milestostone and RC versions 2022-05-13 11:08:37 +03:00
Andrey Uskov 44834bf82c [build statistics] Truncate long values instead of randomization 2022-05-13 11:08:36 +03:00
Ilya Goncharov 75bc90f512 rra/ilgonmic/KT-52221-dry-run-with-empty-nodejs
[Gradle, JS] Disable for wasm

[Gradle, JS] Add test on mocha with dry run should report test state

[Gradle, JS] When run in dry mode, we need special adapter which not run tests

Merge-request: KT-MR-6205
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>


^KT-52221 fixed
2022-05-11 13:27:31 +00:00