kotlin-multiplatform-projects icon indicating copy to clipboard operation
kotlin-multiplatform-projects copied to clipboard

Plugin with id 'com.suparnatural.kotlin.graphql' not found.

Open ImanX opened this issue 3 years ago • 7 comments

Describe the bug I migrated to maven central but throw plugin not found

Stacktrace org.gradle.internal.exceptions.LocationAwareException: Plugin with id 'com.suparnatural.kotlin.graphql' not found.

Version 1.0.12

Platforms affected:

  • iOS [ ]
  • Android [ ]
  • JVM [ ]
  • JS [ ]

Additional context Add any other context about the problem here.

ImanX avatar May 19 '21 07:05 ImanX

Looking at it.

suparngp avatar May 20 '21 04:05 suparngp

The plugin is published on the repository under artifact id graphql-plugin. Not sure if the plugin id needs to match with it somehow or if it requires some handling in the settings.gradle.

suparngp avatar May 20 '21 04:05 suparngp

I tried to get the plugin working with maven central but closing the staging repo throws an error that Project name, description is missing even though it is already present. My guess is that when you publish a plugin, two artifacts are published and may be the gradle.plugin artifact is missing something. I couldn't make it work like this tonight. Instead, I have submitted the plugin on gradle plugin repository and it is now under review. I ll try to work it out with maven central once again tomorrow. Any suggestions are welcome.

suparngp avatar May 20 '21 06:05 suparngp

In my view that's better push latest commit on repo. OK dude, actually imported as local in gradle.

ImanX avatar May 20 '21 07:05 ImanX

@suparngp I imported classpath as jar file but it has issue yet.

ImanX avatar May 22 '21 05:05 ImanX

Just got the email that the plugin is approved.

https://plugins.gradle.org/plugin/com.suparnatural.kotlin.plugins.graphql

suparngp avatar Jun 04 '21 16:06 suparngp

Just got the email that the plugin is approved.

https://plugins.gradle.org/plugin/com.suparnatural.kotlin.plugins.graphql

Please change the documentation that it's not "com.suparnatural.plugins.graphql" but "com.suparnatural.kotlin.plugins.graphql"

And (for me) it's only working with "com.suparnatural.kotlin:graphql-plugin:1.0.13" not with 1.0.12

Nailik avatar Oct 04 '21 09:10 Nailik