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

Publish Gradle plugin to the Plugin Portal #41

Closed
rachelcarmena opened this issue Oct 29, 2019 · 5 comments
Closed

Publish Gradle plugin to the Plugin Portal #41

rachelcarmena opened this issue Oct 29, 2019 · 5 comments
Assignees

Comments

@rachelcarmena
Copy link
Member

The configuration to publish Arrow Meta artifacts (snapshots and releases) in Bintray is being added in #40.

However, Gradle Plugin is not included in #40 because it has its own way to be published to the Plugin Portal and also its own version roadmap:

https://plugins.gradle.org/docs/publish-plugin

The desired name for the Gradle plugin would be:

io.arrow-kt.arrow
@rachelcarmena
Copy link
Member Author

rachelcarmena commented Oct 30, 2019

Publishing plugin io.arrow-kt.arrow version 0.10.2
Thank you. Your new plugin io.arrow-kt.arrow has been submitted for approval
by Gradle engineers. 
The request should be processed within the next 24 hours, at which point
you will be contacted via email.
Publishing artifact build/libs/gradle-plugin-0.10.2.jar
Publishing artifact build/publish-generated-resources/pom.xml
Activating plugin io.arrow-kt.arrow version 0.10.2

cc: @raulraja

@rachelcarmena
Copy link
Member Author

The plugin has been published:

and the artifact of the plugin is available successfully:

Screenshot from 2019-10-31 18-13-30

However, we're going to change the groupId arrow.meta.plugin.gradle by io.arrow-kt

@rachelcarmena
Copy link
Member Author

When fixing the groupId, it's considered as a new plugin so we must wait up to 24 hours for the new publication.

@rachelcarmena
Copy link
Member Author

The plugin is published again: https://plugins.gradle.org/plugin/io.arrow-kt.arrow

However, I'm solving a problem with a hardcoded version in ArrowKotlinGradleSubplugin which raises this error when using the plugin:

Could not find io.arrow-kt:gradle-plugin:0.0.1.

@rachelcarmena
Copy link
Member Author

I'm going to close this issue because Gradle plugin is published, new versions will be published without required approval from Gradle team and the problems found when using the published plugin have been solved in #69.

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

No branches or pull requests

1 participant