1 Star 5 Fork 2

CHINASOFT_OHOS/okhttp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 3.05 KB
一键复制 编辑 原始数据 按行查看 历史
jackyzhong 提交于 2021-07-07 10:25 . findbug修改
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'airline' : '2.6.0',
'animalSniffer': '1.17',
'assertj' : '3.11.0',
'bouncycastle' : '1.60',
'checkstyle' : '8.15',
'conscrypt' : '2.1.0',
'findbugs' : '3.0.2',
'guava' : '27.0.1-jre',
'java' : '1.8',
'jnrUnixsocket': '0.22',
'jsoup' : '1.11.3',
'junit' : '4.12',
'moshi' : '1.8.0',
'okio' : '1.17.3'
]
ext.Dependencies = [
'airline' : "com.github.rvesse:airline:${versions.airline}",
'animalSniffer': "org.codehaus.mojo:animal-sniffer-annotations:${versions.animalSniffer}",
'assertj' : "org.assertj:assertj-core:${versions.assertj}",
'bouncycastle' : "org.bouncycastle:bcprov-jdk15on:${versions.bouncycastle}",
'conscrypt' : "org.conscrypt:conscrypt-openjdk-uber:${versions.conscrypt}",
'guava' : "com.google.guava:guava:${versions.guava}",
'jnrUnixsocket': "com.github.jnr:jnr-unixsocket:${versions.jnrUnixsocket}",
'jsoup' : "org.jsoup:jsoup:${versions.jsoup}",
'jsr305' : "com.google.code.findbugs:jsr305:${versions.findbugs}",
'junit' : "junit:junit:${versions.junit}",
'moshi' : "com.squareup.moshi:moshi:${versions.moshi}",
'okio' : "com.squareup.okio:okio:${versions.okio}"
]
dependencies {
classpath 'com.huawei.ohos:hap:2.4.5.0'
// TODO(jwilson): configure maven-publish-plugin to limit which artifacts are published.
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.8.0'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:3.21.1'
}
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven {
url 'https://mirrors.huaweicloud.com/repository/maven/'
}
maven {
url 'https://developer.huawei.com/repo/'
}
mavenCentral()
gradlePluginPortal()
}
}
apply plugin: 'com.huawei.ohos.app'
ohos {
compileSdkVersion 5
defaultConfig {
compatibleSdkVersion 4
}
}
buildscript {
repositories {
maven {
url 'https://repo.huaweicloud.com/repository/maven/'
}
maven {
url 'https://developer.huawei.com/repo/'
}
jcenter()
}
dependencies {
classpath 'com.huawei.ohos:hap:2.4.2.5'
classpath 'com.huawei.ohos:decctest:1.2.4.1'
}
}
allprojects {
repositories {
maven {
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
url 'https://repo.huaweicloud.com/repository/maven/'
}
maven {
url 'https://developer.huawei.com/repo/'
}
jcenter()
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/chinasoft_ohos/okhttp.git
git@gitee.com:chinasoft_ohos/okhttp.git
chinasoft_ohos
okhttp
okhttp
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385