Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
class GrpcMavenBuildCustomizer implements BuildCustomizer<MavenBuild> {

private static final String PROTOBUF_PLUGIN_VERSION = "3.8.0";
private static final String PROTOBUF_PLUGIN_VERSION = "3.10.2";

private final String protobufJavaVersion;

Expand Down
6 changes: 3 additions & 3 deletions start-site/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ initializr:
artifactId: spring-grpc-dependencies
versionProperty: spring-grpc.version
mappings:
- compatibilityRange: "[3.4.0,4.0.0-M1)"
version: 0.12.0
- compatibilityRange: "[4.0.0,4.1.0-M1)"
version: 1.0.0
spring-modulith:
groupId: org.springframework.modulith
artifactId: spring-modulith-bom
Expand Down Expand Up @@ -1113,7 +1113,7 @@ initializr:
id: spring-grpc
groupId: org.springframework.grpc
artifactId: spring-grpc-spring-boot-starter
compatibilityRange: "[3.4.0,4.0.0-M1)"
compatibilityRange: "[4.0.0,4.1.0-M1)"
description: Support for gRPC, a high performance, open source universal RPC framework.
bom: spring-grpc
links:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/
class SpringGrpcProjectGenerationConfigurationTests extends AbstractExtensionTests {

private static final SupportedBootVersion BOOT_VERSION = SupportedBootVersion.V3_5;
private static final SupportedBootVersion BOOT_VERSION = SupportedBootVersion.V4_0;

private static final String SPRING_GRPC = "spring-grpc";

Expand Down Expand Up @@ -118,13 +118,13 @@ void shouldAddGrpcPluginAndConfigurationForGradleKotlin() {
@Test
void shouldAddProtobufPluginForMaven() {
ProjectRequest request = createProjectRequest(BOOT_VERSION, SPRING_GRPC);
assertThat(mavenPom(request)).hasProperty("grpc.version", "1.76.0")
.hasProperty("protobuf-java.version", "4.32.1")
assertThat(mavenPom(request)).hasProperty("grpc.version", "1.77.0")
.hasProperty("protobuf-java.version", "4.33.1")
.containsIgnoringWhitespaces("""
<plugin>
<groupId>io.github.ascopes</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>3.8.0</version>
<version>3.10.2</version>
<configuration>
<protocVersion>${protobuf-java.version}</protocVersion>
<binaryMavenPlugins>
Expand Down
Loading