-
Notifications
You must be signed in to change notification settings - Fork 56
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
Sample wanted for square/wire #8
Comments
I'm currently trying out the library, but I'm unable to import wire's gradle plugin to the project. I tried to add the following in build.gradle.kts file plugins { wire { I get the error: Plugin [id: 'com.squareup.wire'] was not found in any of the following sources: |
@sijanr |
Should I assign the issue to you? |
Yes, that'd be great. Thanks! |
I get the same error even after setting the plugin version, . I added plugin.com.squareup.wire=3.4.0 to the version.properties file In build.gradle.kts, I added: wire { |
It's because the wire plugin is not on the Gradle Plugins portal. You need to add |
The build is successful, but I'm unable to add the following in the build.gradle.kts wire { I don't think I can generate the kotlin class of the proto file without adding the above code. Since applying the plugin directly in the build.gradle.pluginManagement { I also added implementation ("com.squareup.wire:wire-runtime:3.4.0") to the dependencies in the build.gradle.kts file Following your advice, I added pluginManagement { to the settings.gradle.kts file. Is there anything that I did wrong? |
Can you push your code and open a pull request in its present state? I will try to fix it |
@sijanr |
Also, please use triple backticks for code snippets.
|
This is what I've been able to get so far. You'll probably see a bunch of errors in the gradle build file, but it all clears out if you remove
|
I also deleted the below code from the build.gradle.kts file because I just kept on receiving an error asking me remove it.
|
ok, thanks! |
About the library
What the sample could do
Re-use the
Dinosaur
sample from the documentationWants to contribute the sample?
The text was updated successfully, but these errors were encountered: