Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress native dependency warnings to quiet AtomicFU warnings #459

Merged
merged 2 commits into from
Apr 10, 2023

Conversation

twyatt
Copy link
Member

@twyatt twyatt commented Apr 6, 2023

Warnings about AtomicFU can be quite noisy (and unhelpful). Disabling until KT-32476 is fixed.

Example noisy logs
A compileOnly dependency is used in the Kotlin/Native target 'iosX64':
Compilation: main

Dependencies:
org.jetbrains.kotlinx:atomicfu:0.20.1

Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property
A compileOnly dependency is used in the Kotlin/Native target 'macosArm64':
Compilation: main

Dependencies:
org.jetbrains.kotlinx:atomicfu:0.20.1

Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property
A compileOnly dependency is used in the Kotlin/Native target 'iosArm32':
Compilation: main

Dependencies:
org.jetbrains.kotlinx:atomicfu:0.20.1

Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property
A compileOnly dependency is used in the Kotlin/Native target 'iosArm64':
Compilation: main

Dependencies:
org.jetbrains.kotlinx:atomicfu:0.20.1

Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property
A compileOnly dependency is used in the Kotlin/Native target 'iosSimulatorArm64':
Compilation: main

Dependencies:
org.jetbrains.kotlinx:atomicfu:0.20.1

Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property
A compileOnly dependency is used in the Kotlin/Native target 'macosX64':
Compilation: main

Dependencies:
org.jetbrains.kotlinx:atomicfu:0.20.1

Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property

@twyatt twyatt added the maintenance General maintenance that doesn't effect the public API. label Apr 6, 2023
@twyatt twyatt marked this pull request as ready for review April 6, 2023 17:28
@twyatt twyatt requested a review from a team as a code owner April 6, 2023 17:28
@twyatt twyatt enabled auto-merge (squash) April 10, 2023 19:31
@twyatt twyatt merged commit 96c1dfb into main Apr 10, 2023
@twyatt twyatt deleted the twyatt/ignoreIncorrectDependencies branch April 10, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance General maintenance that doesn't effect the public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants