diff --git a/function/function-samples/sample-function-greeter-gcp/pom.xml b/function/function-samples/sample-function-greeter-gcp/pom.xml
index 0a5e415d6..15f32a7e9 100644
--- a/function/function-samples/sample-function-greeter-gcp/pom.xml
+++ b/function/function-samples/sample-function-greeter-gcp/pom.xml
@@ -40,7 +40,7 @@
org.springframework.cloud
spring-cloud-function-adapter-gcp
- 4.1.1
+ 5.0.0
diff --git a/function/function-samples/sample-function-rest-book/pom.xml b/function/function-samples/sample-function-rest-book/pom.xml
index 9cd36f890..716157a61 100644
--- a/function/function-samples/sample-function-rest-book/pom.xml
+++ b/function/function-samples/sample-function-rest-book/pom.xml
@@ -60,7 +60,7 @@
org.springframework.cloud
spring-cloud-function-adapter-gcp
- 4.1.1
+ 5.0.0