-
Notifications
You must be signed in to change notification settings - Fork 61
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
Move the logic from koltin repo atomicfu gradle plugin to the gradle plugin in the library. #406
Merged
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1c1b02b
A simple test to reproduce #399
mvicsokolova b63ec7a
WIP: Move the logic of the gradle plugin from Kotlin repo to the libr…
mvicsokolova 2172116
The test that checks for kotlin:atomicfu dependency in the classpath …
mvicsokolova 811845a
Reverted unrelated changes
mvicsokolova 9d9c857
Apply one compiler plugin of KGP version
mvicsokolova 70c3c8d
Added a message about incompatibility of the current plugin version w…
mvicsokolova ac3c2fd
Fixes for the TC builds:
mvicsokolova 4f43a34
Minor fixup: added import of KotlinCompiler
mvicsokolova 7f10665
Delete expanded.lock file in plugin-order-bug as well
mvicsokolova d5f876c
Fixed the error messages, added a Note in the README.
mvicsokolova 240379e
Added a prerelease flag to the version-catalog project, as the check …
mvicsokolova 3b44d9e
Update atomicfu-gradle-plugin/src/main/kotlin/kotlinx/atomicfu/plugin…
mvicsokolova 8724258
Bump the major version to 0.24.0
mvicsokolova 10527f3
Add a note, that Kotlin version may be overriden in the README.
mvicsokolova cf94043
File formatting
mvicsokolova c23783b
Move the error to checkKotlinCompatibility
mvicsokolova 6ab2911
Removed the line from Gradle configuration
mvicsokolova 5c5bce2
Fixed the section with configuration properties
mvicsokolova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously, in case of KGP version <
1.9.0
, I asked users to addorg.jetbrains.kotlin:atomicfu
dependency manually to the buildscript. However, this caused further problems, that already were solved in higher Kotlin versions.E.g. the problem below would occur if you try to apply the current kotlinx-atomicfu version with Kotlin 1.8.20 and just add the
kotlin:atomicfu:1.8.20
dependency manually (this problem was solved in0.23.0
and Kotlin1.9.10
)So, I decided to write this error message about incompatibility instead.
I've checked that the sample mpp project can be built with kotlinx-atomicfu
0.22.0
and Kotlin down to1.6.0
, though I believe these are very marginal use cases.@fzhinkin WDYT? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we print the exact version here?
I think it should be enough to:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a note about downgrading atomicfu version as an alternative solution in the README. And in the message left just the recommendation to upgrade the Kotlin version.