Replies: 7 comments
-
Do you see files from any of the other protobuf plugins that you are using (grpc, vertx, grpckt) in the |
Beta Was this translation helpful? Give feedback.
-
I don't see any from what I can find. |
Beta Was this translation helpful? Give feedback.
-
I get this error now:
I do have jcenter enabled. I am on macos if it is relevant. I also tried the 0.10 snapshot version, which did not work. https://mvnrepository.com/artifact/pro.streem.pbandk Not sure how it all works, but I can't find pbandk-runtime-native here (though i copied it from the readme): https://jcenter.bintray.com/pro/streem/pbandk/ |
Beta Was this translation helpful? Give feedback.
-
Okay I changed some things. I had all the artifacts in the common sourceset, which is obviously wrong. I moved it to the right sourcesets but then it seems that wasn' t necessary because of the metadata? Anyway, the sync now gives me this error:
And running a build results in:
No clue where to look for that. Not even sure if it is related to pbandk but it started when I added pbandk though. Edit:
|
Beta Was this translation helpful? Give feedback.
-
These errors all seem unrelated to pbandk as far as I can tell. Also, there has never been a |
Beta Was this translation helpful? Give feedback.
-
@garyp my gradle file was in the first post, but I'll start over to make sure nothing is screwing this up. So just these four lines of code, right? Each in its own sourceset.
|
Beta Was this translation helpful? Give feedback.
-
@RdeWilde If you're using Kotlin 1.4 and pbandk 0.10.0+ then you just need a single dependency in your
The README was recently updated with this information. Let us know if that resolves your issue. |
Beta Was this translation helpful? Give feedback.
-
I try to convert my protobuf definition into Kotlin using this project, but it does not generate any output thru gradle.
I'm not sure how to configure where it can find my proto file. My project is shared MPP, so it uses commonMain instead of main.
Here is the build.gradle.kts from the
common
folder: https://gist.github.com/RdeWilde/4dfd1794a10202dc99c74db0bc0820dbMy proto file is in
(common/)src/commonMain/proto/test.proto
What am I missing?
Beta Was this translation helpful? Give feedback.
All reactions