tencentyun / qcloud-cos-sts-sdk

QCloud COS STS SDK for Backend Server
MIT License
199 stars 188 forks source link

gradle项目引入加载不到jar包 #11

Closed fuuqiu closed 4 years ago

fuuqiu commented 5 years ago

方便提供一份gradle引入jar包的示例么,修改仓库地址和引入相应的jar包均提示找不到jar包

bradyxiao commented 5 years ago

方便提供一份gradle引入jar包的示例么,修改仓库地址和引入相应的jar包均提示找不到jar包 使用 gradle 集成方式

1) 在您的项目根目录下的 build.gradle 文件中添加 maven 仓库: allprojects { repositories { ... // 添加如下 maven 仓库地址 maven { url "https://dl.bintray.com/qcloud/maven-repo" } } }

2) 在应用的根目录下的 build.gradle 中添加依赖:

compile 'com.tencent.cloud:cos-sts-java:3.0.3'