ilgonmic
Repos
43
Followers
34
Following
12

The Kotlin Programming Language.

42785
4878

Sample of using Kotlin with d.ts in typescript project in monorepo

7
1

ReduxKotlin + React

Events

[Gradle, JS] Move session file from project

Created at 15 hours ago
create branch
ilgonmic create branch rra/ilgonmic/npm-improvements
Created at 1 day ago

[Gradle, JS] Compile not depends on storeYarnLock

Created at 1 day ago

[Gradle, JS] Fix Gradle Plugin API

Created at 2 days ago

[Gradle, JS] Fix recursion

Created at 2 days ago
Use outputFileProperty instead of outputFile

Done

Created at 2 days ago

Ensure awaitFrame() only awaits a single frame when used from the main looper (#3437)

Fixes #3432

Preparation for atomicfu JVM IR plugin application in 1.7.20 (#3455)

  • Fix for integration-testing:mavenTest: exclude metadata when checking classes bytecode for ATOMIC_REF

  • Moved SegmentBasedQueue implementation to the main module

  • Removed SegmentListTest

Introduce non-nullable types in reactive integrations where appropriate (#3393)

  • Introduce non-nullable types in reactive integrations where appropriate

  • For RxJava2, use them in internal implementations where appropriate

  • For RxJava3, introduce & Any bound to a generic argument in our extensions to avoid errors in Kotlin 1.8.0 due to non-nullability rx3 annotations being part of generics upper bound. This change went through committee, and all the "unsound" declarations such as "RxSignature<Foo?>" were properly highlighted as a warning that would become an error.

Remove Class-Path attribute from debug JAR (#3402)

Fixes #3361

Properly use UndispatchedCoroutine context for context-specific elements (#3413)

Fixes #3411

Allow customization of default scheduler name on JVM (#3465)

Fixes #3231

Add parametrized Flow#filterIsInstance extension (#3464)

Fixes #3240

Adjust Gradle configuration and introduce allWarningsAsErrors (#3466)

  • Also, add tests that verify our disabled assertions
  • Fix nullability in AgentPremain that used to work by accident (because we disabled those assertions)
  • Fix all corresponding warnings

Co-authored-by: Dmitry Khalanskiy Dmitry.Khalanskiy@jetbrains.com

Use outputFileProperty instead of outputFile

Created at 2 days ago

[Gradle, JS] Fix compilation

Created at 2 days ago

[Gradle, JS] Remove dukat tests

Created at 2 days ago

[JS] Warning for dukat using

[JS] Warning on npm dependencies with geenrateExternals declaration

Created at 2 days ago

[K/JS] Do not run generate-file-tests task if the source was not changed

[IR] Restore old Psi2IrTranslator constructor for older IDEs

^KT-54115 ^KT-53649

[Gradle][MPP] KotlinProjectStructureMetadata: Add .sourceSetNames property

^KT-48135 WIP

[Gradle][MPP] zipUtils: Add ZipFile.copyPartially

^KT-48135 WIP

[Gradle][MPP] Fix isSharedNative condition in getHostSpecificSourceSets

^KT-48135 WIP

[Gradle][MPP] Implement CompositeMetadataArtifact

^KT-48135 WIP

[Gradle][MPP] Flatten transformed metadata library directories

The main purpose of this commit is to fix KT-48135 and to de-duplicate libraries for the IDE whilst also minimizing zip operations during IDE import.

However, with this commit the metadata library directories layout also gets changed for CLI builds. The overall layout is now more shared with cinterops and the IDE.

^KT-48135 Verification Pending

[Gradle][MPP] Rename JarMetadataProvider to ArtifactMetadataProvider

^KT-48135 Verification Pending

[Gradle][MPP] Rename TransformKotlinGranularMetadata to MetadataDependencyTransformationTask

This, hopefully, finally makes my life easier.

^KT-48135 Verification Pending

[Gradle][MPP] Rename TransformKotlinGranularMetadataForFragment to GradleKpmMetadataDependencyTransformationTask

This, hopefully, finally makes my life easier.

^KT-48135 Verification Pending

[Gradle][MPP] Include artifact checksum string in transformed metadata klib file names

This can be used for locally published snapshot libraries. Without it, the import will see that there is already a library with same coordinates in .gradle/kotlin/... and therefore skip extracting it.

Including the 32 checksum at the end of the file will ensure, that if a different artifact is the source of the metadata, then a new file will be created.

This approach is generally more desirable than cleaning the .gradle/kotlin directory to avoid the IDE of re-indexing after import.

^KT-48135 Verification Pending

[Gradle][MPP] Rename CompositeMetadataArtifact.ArtifactHandle to ArtifactContent

^KT-48135 Verification Pending

[Gradle][MPP] Fix KotlinProjectStructureMetadataSerializationTest.sampleMetadata

This object did not list 'commonMain' and put non-idiomatic data into 'sourceSetNamesByVariantName'

^KT-48135 Verification Pending

[Gradle][MPP] Add comment for CInteropMetadataDependencyTransformationTask.OutputLibraryFilesDiscovery.Precise

^KT-48135 Verification Pending

[Gradle][MPP] CompositeMetadataArtifact: Remove Int checksum (keep String)

^KT-48135 Verification Pending

[Gradle][MPP] transformMetadataLibraries.kt Fix comment

^KT-48135 Verification Pending

[Gradle][MPP] Extract CompositeMetadataArtifact.ArtifactContent

... into its own top level entity called CompositeMetadataArtifactContent.

This commit also refines naming os the APIs and provides additional documentation.

^KT-48135 Verification Pending

[Gradle][MPP] Add very small doc on KotlinProjectStructureMetadata

^KT-48135 Verification Pending

[Gradle][MPP] Rename isSharedNative function to isNativeSourceSet

^KT-48135 Verification Pending

Update KGP-api binary compatibility with removed JvmTarget.JVM_1_6

Created at 2 days ago
Use outputFileProperty instead of outputFile

Yes, sorry

It has a replacement. outputFileProperty is the replacement, using Gradle Property API. And it existed during deprecation cycle of outputFile

Created at 3 days ago

Change policy with legacy compiler backend

[JS] Remove incremental js jps test

[JS] Remove test of maven js archetype

[JS] Fix another one test

[JS] Fix tests for jps

[JS] Try to fix maven test data

[JS] Fix test data

[JS] Fix test data for ant

[JS] Fix jsExtraHelp test

[JS] Fix test run from not-Gradle build tools

[JS] Set flag without compiler error

[JS] Disable warnings and errors in legacy compiler called from Gradle

[JS] Proofread messages

[JS] Not proofread messages

KT-42326

(cherry picked from commit c726360ad26709ae7da6059f5502ef3e5e0b8c1d)

Fix test-related commits, does not affect production

Created at 6 days ago
create branch
ilgonmic create branch rrr/1.8.0/ilgonmic/deprecated-legacy-message
Created at 6 days ago

[JS] Remove incremental js jps test

Created at 1 week ago

[JS] Remove test of maven js archetype

Created at 1 week ago

[JS] Fix another one test

Created at 1 week ago

[K/JS] Do not run generate-file-tests task if the source was not changed

[IR] Restore old Psi2IrTranslator constructor for older IDEs

^KT-54115 ^KT-53649

[Gradle][MPP] KotlinProjectStructureMetadata: Add .sourceSetNames property

^KT-48135 WIP

[Gradle][MPP] zipUtils: Add ZipFile.copyPartially

^KT-48135 WIP

[Gradle][MPP] Fix isSharedNative condition in getHostSpecificSourceSets

^KT-48135 WIP

[Gradle][MPP] Implement CompositeMetadataArtifact

^KT-48135 WIP

[Gradle][MPP] Flatten transformed metadata library directories

The main purpose of this commit is to fix KT-48135 and to de-duplicate libraries for the IDE whilst also minimizing zip operations during IDE import.

However, with this commit the metadata library directories layout also gets changed for CLI builds. The overall layout is now more shared with cinterops and the IDE.

^KT-48135 Verification Pending

[Gradle][MPP] Rename JarMetadataProvider to ArtifactMetadataProvider

^KT-48135 Verification Pending

[Gradle][MPP] Rename TransformKotlinGranularMetadata to MetadataDependencyTransformationTask

This, hopefully, finally makes my life easier.

^KT-48135 Verification Pending

[Gradle][MPP] Rename TransformKotlinGranularMetadataForFragment to GradleKpmMetadataDependencyTransformationTask

This, hopefully, finally makes my life easier.

^KT-48135 Verification Pending

[Gradle][MPP] Include artifact checksum string in transformed metadata klib file names

This can be used for locally published snapshot libraries. Without it, the import will see that there is already a library with same coordinates in .gradle/kotlin/... and therefore skip extracting it.

Including the 32 checksum at the end of the file will ensure, that if a different artifact is the source of the metadata, then a new file will be created.

This approach is generally more desirable than cleaning the .gradle/kotlin directory to avoid the IDE of re-indexing after import.

^KT-48135 Verification Pending

[Gradle][MPP] Rename CompositeMetadataArtifact.ArtifactHandle to ArtifactContent

^KT-48135 Verification Pending

[Gradle][MPP] Fix KotlinProjectStructureMetadataSerializationTest.sampleMetadata

This object did not list 'commonMain' and put non-idiomatic data into 'sourceSetNamesByVariantName'

^KT-48135 Verification Pending

[Gradle][MPP] Add comment for CInteropMetadataDependencyTransformationTask.OutputLibraryFilesDiscovery.Precise

^KT-48135 Verification Pending

[Gradle][MPP] CompositeMetadataArtifact: Remove Int checksum (keep String)

^KT-48135 Verification Pending

[Gradle][MPP] transformMetadataLibraries.kt Fix comment

^KT-48135 Verification Pending

[Gradle][MPP] Extract CompositeMetadataArtifact.ArtifactContent

... into its own top level entity called CompositeMetadataArtifactContent.

This commit also refines naming os the APIs and provides additional documentation.

^KT-48135 Verification Pending

[Gradle][MPP] Add very small doc on KotlinProjectStructureMetadata

^KT-48135 Verification Pending

[Gradle][MPP] Rename isSharedNative function to isNativeSourceSet

^KT-48135 Verification Pending

Update KGP-api binary compatibility with removed JvmTarget.JVM_1_6

Created at 1 week ago

[K/JS] Do not run generate-file-tests task if the source was not changed

[IR] Restore old Psi2IrTranslator constructor for older IDEs

^KT-54115 ^KT-53649

[Gradle][MPP] KotlinProjectStructureMetadata: Add .sourceSetNames property

^KT-48135 WIP

[Gradle][MPP] zipUtils: Add ZipFile.copyPartially

^KT-48135 WIP

[Gradle][MPP] Fix isSharedNative condition in getHostSpecificSourceSets

^KT-48135 WIP

[Gradle][MPP] Implement CompositeMetadataArtifact

^KT-48135 WIP

[Gradle][MPP] Flatten transformed metadata library directories

The main purpose of this commit is to fix KT-48135 and to de-duplicate libraries for the IDE whilst also minimizing zip operations during IDE import.

However, with this commit the metadata library directories layout also gets changed for CLI builds. The overall layout is now more shared with cinterops and the IDE.

^KT-48135 Verification Pending

[Gradle][MPP] Rename JarMetadataProvider to ArtifactMetadataProvider

^KT-48135 Verification Pending

[Gradle][MPP] Rename TransformKotlinGranularMetadata to MetadataDependencyTransformationTask

This, hopefully, finally makes my life easier.

^KT-48135 Verification Pending

[Gradle][MPP] Rename TransformKotlinGranularMetadataForFragment to GradleKpmMetadataDependencyTransformationTask

This, hopefully, finally makes my life easier.

^KT-48135 Verification Pending

[Gradle][MPP] Include artifact checksum string in transformed metadata klib file names

This can be used for locally published snapshot libraries. Without it, the import will see that there is already a library with same coordinates in .gradle/kotlin/... and therefore skip extracting it.

Including the 32 checksum at the end of the file will ensure, that if a different artifact is the source of the metadata, then a new file will be created.

This approach is generally more desirable than cleaning the .gradle/kotlin directory to avoid the IDE of re-indexing after import.

^KT-48135 Verification Pending

[Gradle][MPP] Rename CompositeMetadataArtifact.ArtifactHandle to ArtifactContent

^KT-48135 Verification Pending

[Gradle][MPP] Fix KotlinProjectStructureMetadataSerializationTest.sampleMetadata

This object did not list 'commonMain' and put non-idiomatic data into 'sourceSetNamesByVariantName'

^KT-48135 Verification Pending

[Gradle][MPP] Add comment for CInteropMetadataDependencyTransformationTask.OutputLibraryFilesDiscovery.Precise

^KT-48135 Verification Pending

[Gradle][MPP] CompositeMetadataArtifact: Remove Int checksum (keep String)

^KT-48135 Verification Pending

[Gradle][MPP] transformMetadataLibraries.kt Fix comment

^KT-48135 Verification Pending

[Gradle][MPP] Extract CompositeMetadataArtifact.ArtifactContent

... into its own top level entity called CompositeMetadataArtifactContent.

This commit also refines naming os the APIs and provides additional documentation.

^KT-48135 Verification Pending

[Gradle][MPP] Add very small doc on KotlinProjectStructureMetadata

^KT-48135 Verification Pending

[Gradle][MPP] Rename isSharedNative function to isNativeSourceSet

^KT-48135 Verification Pending

Update KGP-api binary compatibility with removed JvmTarget.JVM_1_6

Created at 1 week ago

[JS] Fix tests for jps

Created at 1 week ago

[JS] Try to fix maven test data

Created at 1 week ago

[JS] Fix test data for ant

[JS] Fix test data

Created at 1 week ago

[JS] Fix jsExtraHelp test

Created at 1 week ago

[JS] Fix test run from not-Gradle build tools

Created at 1 week ago

[JS] Set flag without compiler error

Created at 1 week ago
create branch
ilgonmic create branch rra/ilgonmic/keep-property-anonymous-class
Created at 1 week ago

[JS] Disable warnings and errors in legacy compiler called from Gradle

Created at 1 week ago

[JS] Proofread messages

Created at 1 week ago
Use outputFileProperty instead of outputFile

Changes with migration from outputFile to outputDirectory in Gradle plugin are necessary, because can be situation, when users want to use complex module name e.g. (@foo/bar). And for these one outputFile migrated to 2 properties outputDir and moduleName. Apart from that, outputFile was deprecated earlier with migration plan to outputFileProperty (because of Gradle property API), so there is a plan to leve only property-based inputs and outputs

Created at 1 week ago
create branch
ilgonmic create branch rra/ilgonmic/deprecated-messages
Created at 1 week ago