Skip to content

Commit

Permalink
Merge pull request #1150 from lauren-wiebenga-s360/lauren-wiebenga-s360
Browse files Browse the repository at this point in the history
GH-1085 Fixes spring-cloud-function-adapter-gcp
  • Loading branch information
olegz authored Jun 24, 2024
2 parents 21d641e + 83d4369 commit 8949692
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.springframework.boot.loader.tools.CustomLoaderLayout;
import org.springframework.boot.loader.tools.Layouts;
import org.springframework.boot.loader.tools.LoaderClassesWriter;
import org.springframework.boot.loader.tools.LoaderImplementation;
import org.springframework.cloud.function.adapter.gcp.GcfJarLauncher;

/**
Expand All @@ -46,7 +47,7 @@ public boolean isExecutable() {

@Override
public void writeLoadedClasses(LoaderClassesWriter writer) throws IOException {
writer.writeLoaderClasses();
writer.writeLoaderClasses(LoaderImplementation.CLASSIC);

String jarName = LAUNCHER_NAME.replaceAll("\\.", "/") + ".class";
writer.writeEntry(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-adapter-gcp</artifactId>
<version>4.1.0-SNAPSHOT</version>
<version>${spring-cloud-function.version}</version>
</dependency>

<!-- test dependencies -->
Expand Down

0 comments on commit 8949692

Please sign in to comment.