Skip to content

Commit

Permalink
chore: bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
ngyewch committed Oct 2, 2024
1 parent 3b9ef9b commit c2b8615
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,22 @@ plugins {
}
dependencies {
implementation(platform("io.github.ngyewch.twirp:twirp-bom:0.2.0"))
implementation(platform("io.github.ngyewch.twirp:twirp-bom:0.3.0"))
// Protobuf
implementation("com.google.protobuf:protobuf-java")
// Common
implementation("io.github.ngyewch.twirp:twirp-common")
// Apache HttpComponents
implementation("io.github.ngyewch.twirp:twirp-apache-client")
// Helidon
implementation("io.github.ngyewch.twirp:twirp-helidon-common")
// Helidon client
implementation("io.github.ngyewch.twirp:twirp-helidon-client")
implementation("io.helidon.webclient:helidon-webclient")
// Helidon server
implementation("io.github.ngyewch.twirp:twirp-helidon-server")
Expand All @@ -50,18 +55,19 @@ dependencies {
protobuf {
plugins {
id("twirp-java") {
artifact = "io.github.ngyewch.twirp:protoc-gen-twirp-java:0.2.0"
artifact = "io.github.ngyewch.twirp:protoc-gen-twirp-java:0.3.0"
}
}
protoc {
artifact = "com.google.protobuf:protoc:4.27.2"
artifact = "com.google.protobuf:protoc:4.28.2"
}
generateProtoTasks {
ofSourceSet("main").forEach {
it.plugins {
id("twirp-java") {
option("gen-helidon-client=true")
option("gen-helidon-server=true")
option("gen-apache-client=true")
}
}
}
Expand All @@ -73,7 +79,8 @@ protobuf {

## Options

| Name | Type | Default | Description |
|----------------------|-----------|---------|--------------------------------------------------------------------------------------------------------|
| `gen-helidon-client` | `boolean` | `false` | Generate [Helidon SE WebClient based](https://helidon.io/docs/v2/se/webclient/01_introduction) client. |
| `gen-helidon-server` | `boolean` | `false` | Generate [Helidon SE WebServer based](https://helidon.io/docs/v2/se/webserver/01_introduction) server. |
| Name | Type | Default | Description |
|----------------------|-----------|---------|--------------------------------------------------------------------------------------------------------------|
| `gen-helidon-client` | `boolean` | `false` | Generate [Helidon SE WebClient](https://helidon.io/docs/v2/se/webclient/01_introduction) based client. |
| `gen-helidon-server` | `boolean` | `false` | Generate [Helidon SE WebServer](https://helidon.io/docs/v2/se/webserver/01_introduction) based server. |
| `gen-apache-client` | `boolean` | `false` | Generate [Apache HttpComponents](https://hc.apache.org/httpcomponents-client-4.5.x/index.html) based client. |
2 changes: 1 addition & 1 deletion java/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=io.github.ngyewch.twirp
version=0.2.0
version=0.3.0

0 comments on commit c2b8615

Please sign in to comment.