-
Notifications
You must be signed in to change notification settings - Fork 124
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
docs: gradle config that works from quickstarts #1867
docs: gradle config that works from quickstarts #1867
Conversation
@@ -13,7 +13,7 @@ By default both client and server are generated and Java or Scala is autodetecte | |||
|
|||
### Installation | |||
|
|||
Follow instructions at [Gradle plugin portal](https://plugins.gradle.org/plugin/com.lightbend.akka.grpc.gradle) to apply plugin. |
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.
Any clue of how we could update https://plugins.gradle.org/plugin/com.lightbend.akka.grpc.gradle, which now has incomplete instructions?
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.
Nope, I guess we'll have to check with @raboof if he still has access and can hand over account
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.
Hi! 👋 😄
I don't see a way to edit the instructions at https://plugins.gradle.org/plugin/com.lightbend.akka.grpc.gradle from the web UI, I suspect they will get updated automatically by changing the fields under pluginBundle
in gradle-plugin/build.gradle
.
Of course it would still be good to transfer ownership of this package to you. Looks like this can be done by opening an issue at https://github.com/gradle/plugin-portal-requests#transferring-ownership . Can you create an account to transfer ownership 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.
Heyhey, I've created an account johanandren
. Please trigger the transfer thanks!
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.
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.
Thanks @raboof !
plugins { | ||
id 'com.lightbend.akka.grpc.gradle' version '$project.version$' | ||
} | ||
} |
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.
Feels like we define the same things twice now. What is the recommend way to add plugins? settings or buildscript (or both)?
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 think I tried only one of them and it didn't work, but I may be wrong. Can check tomorrow.
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.
Dropping buldscript seems to work: akka/akka-grpc-quickstart-java.g8#64
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.
Single file seems nicer though, I'll try only buildscript and no settings.gradle as well
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.
Good, once we got it working it might be worth changing plugin-tester projects so that they look the same. There I think we need the local repo as well, since we are testing with a local publish.
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.
Updated the builds here, slightly simpler in some sense, but had to keep the gradle.settings to include local maven in repositories searched for plugins.
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.
LGTM
* docs: gradle config that works from quickstarts * Simplify plugin tester gradle setup
* docs: gradle config that works from quickstarts * Simplify plugin tester gradle setup
* docs: gradle config that works from quickstarts * Simplify plugin tester gradle setup
No description provided.