Skip to content

Commit 359d3a0

Browse files
committed
add gson instance spi interface
1 parent 9491bf0 commit 359d3a0

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

azure-functions-java-spi/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.microsoft.azure.functions</groupId>
66
<artifactId>azure-functions-java-spi</artifactId>
7-
<version>1.0.0</version>
7+
<version>1.1.0</version>
88
<packaging>jar</packaging>
99
<parent>
1010
<groupId>com.microsoft.maven</groupId>
@@ -64,6 +64,12 @@
6464
<version>1.2.0</version>
6565
<scope>provided</scope>
6666
</dependency>
67+
<dependency>
68+
<groupId>com.google.code.gson</groupId>
69+
<artifactId>gson</artifactId>
70+
<version>2.9.0</version>
71+
<scope>provided</scope>
72+
</dependency>
6773
</dependencies>
6874

6975

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package com.microsoft.azure.functions.spi.inject;
2+
3+
import com.google.gson.Gson;
4+
5+
public interface GsonInstanceInjector {
6+
Gson getGsonInstance() throws Exception;
7+
}

0 commit comments

Comments
 (0)