添加存储库

  • 项目根目录build.gradle添加存储库
allprojects {
    repositories {
        ...
        maven {
            url "https://raw.githubusercontent.com/SJJ-dot/repo/master/"
			//or url "https://gitee.com/SJJ-dot/repo/raw/master"
        }
    }
}

第三方的依赖包

字符集检测使用的第三方库(原地址使用gradle始终加载不成功)

implementation 'com.sjianjun.ext:chardet:0.0.1'

以下的库在jcenter仓库

//将对象转换为表单或者get请求参数
implementation 'com.sjianjun:retrofitlib:0.0.1'

implementation 'com.sjianjun:serialize:1.0.1'

第三方库