代码拉取完成,页面将自动刷新
// 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()
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。