开发者

how to import com.google.api.client libraries?

开发者 https://www.devze.com 2023-03-29 09:30 出处:网络
This question might be asked before but I couldn\'t solve my problem with those explananations. I want to start using google apis in my Eclipse IDE. I\'ve downloaded a sample from google codes. (la开发

This question might be asked before but I couldn't solve my problem with those explananations. I want to start using google apis in my Eclipse IDE. I've downloaded a sample from google codes. (la开发者_StackOverflowtitude-json-oauth-sample). It requires to import com.google.api.client.auth.oauth. From where I can find and how import those to this project? I've installed maven and mylyn plugins, and I thought that with these plugins I would be able to download all dependencies but I couldn't make it. Thanks.


The artifacts are available in the central maven repository. Add following to your pom file:

<dependency>
    <groupId>com.google.api.client</groupId>
    <artifactId>google-api-client-auth</artifactId>
    <version>1.2.3-alpha</version>
</dependency>
0

精彩评论

暂无评论...
验证码 换一张
取 消