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

Could not resolve all artifacts for configuration with AtomicFu "0.25.0" #447

Open
amal opened this issue Jun 28, 2024 · 5 comments
Open
Assignees
Labels

Comments

@amal
Copy link

amal commented Jun 28, 2024

With v0.25.0 and plugin connected by id as "org.jetbrains.kotlinx.atomicfu" I receive a project configuration error:

> Could not resolve all artifacts for configuration ':fluxo-io-rad:classpath'.
   > Could not find org.jetbrains.kotlinx:atomicfu-transformer:0.25.0.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/org/jetbrains/kotlinx/atomicfu-transformer/0.25.0/atomicfu-transformer-0.25.0.pom
     Required by:
         project :fluxo-io-rad > org.jetbrains.kotlinx.atomicfu:org.jetbrains.kotlinx.atomicfu.gradle.plugin:0.25.0 > org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.25.0

Seems like atomicfu-transformer artifact wasn't published both in gradle plugins portal and maven central.

@mvicsokolova
Copy link
Collaborator

Thank you!
Publication failed for some reason, I've republished all the artifacts now. They should appear at mavenCentral soon.

@eygraber
Copy link

eygraber commented Jun 28, 2024

I'm not getting warnings about the artifact not being resolved anymore, but I get unresolved reference errors for kotlinx.atomicfu* with just the plugin applied. I can only get them to resolve by manually including the runtime dependency (implementation("org.jetbrains.kotlinx:atomicfu:0.25.0")). Is that expected?

@mvicsokolova
Copy link
Collaborator

No, this is not expected. Could you please share the part of the build script, where you apply the plugin? 👀

Do you apply it by the new id? Like this

plugins {
     id("org.jetbrains.kotlinx.atomicfu") version "0.25.0"
}

@amal
Copy link
Author

amal commented Jun 28, 2024

Checked, seems to work now.

@eygraber
Copy link

No, this is not expected. Could you please share the part of the build script, where you apply the plugin?

I made a copy paste error. It's working fine, sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants