8000 Add j2objc reflection for json and util package (#427) · rchani99/google-http-java-client@a71b8ac · GitHub
[go: up one dir, main page]

Skip to content

Commit a71b8ac

Browse files
xiaojiejchingor13
authored andcommitted
Add j2objc reflection for json and util package (googleapis#427)
* Add j2objc reflect for json and util package * Add j2objc dependency * Add j2objc dep to google-http-client artifact's pom.xml
1 parent d2cc4ca commit a71b8ac

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

google-http-client/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,10 @@
169169
<artifactId>commons-codec</artifactId>
170170
<scope>provided</scope>
171171
</dependency>
172+
<dependency>
173+
<groupId>com.google.j2objc</groupId>
174+
<artifactId>j2objc-annotations</artifactId>
175+
<version>1.1</version>
176+
</dependency>
172177
</dependencies>
173178
</project>

google-http-client/src/main/java/com/google/api/client/json/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
* @author Yaniv Inbar
2222
*/
2323

24+
@ReflectionSupport(value = ReflectionSupport.Level.FULL)
2425
package com.google.api.client.json;
2526

27+
import com.google.j2objc.annotations.ReflectionSupport;
28+

google-http-client/src/main/java/com/google/api/client/util/package-info.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
* @author Yaniv Inbar
2020
*/
2121

22+
@ReflectionSupport(value = ReflectionSupport.Level.FULL)
2223
package com.google.api.client.util;
2324

25+
import com.google.j2objc.annotations.ReflectionSupport;
26+

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,11 @@
274274
<artifactId>mysql-connector-java</artifactId>
275275
<version>5.1.18</version>
276276
</dependency>
277+
<dependency>
278+
<groupId>com.google.j2objc</groupId>
279+
<artifactId>j2objc-annotations</artifactId>
280+
<version>1.1</version>
281+
</dependency>
277282
</dependencies>
278283
</dependencyManagement>
279284

0 commit comments

Comments
 (0)
0