代码拉取完成,页面将自动刷新
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
// mavenCentral()
// mavenLocal()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'
allowInsecureProtocol = true
}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
allowInsecureProtocol = true
}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google'
allowInsecureProtocol = true
}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin'
allowInsecureProtocol = true
}
maven {
url 'https://maven.google.com/'
name 'Google'
allowInsecureProtocol = true
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots"
allowInsecureProtocol = true
}
maven { url "https://repo.maven.apache.org/maven2"
allowInsecureProtocol = true
}
}
dependencies {
classpath "com.android.tools.build:gradle:${project.property('android-plugin.version')}"
}
}
// Set up the spotbugs plugin so we can apply it in a quality pass if needed
plugins {
id 'com.github.spotbugs' version '5.0.6' apply false
}
allprojects {
// NOTE: project.group and project.version must be defined before including
// maven-support.gradle since it uses these values...
project.group = ( project.hasProperty('pom.groupId')
? project.property('pom.groupId') : "" )
project.version =
( project.hasProperty('pom.version') ? project.property('pom.version') : "1.0" )
// forces all changing dependencies (i.e. SNAPSHOTs) to automagicially download
// (thanks, @BillBarnhill!)
configurations.all {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
}
}
repositories {
// mavenCentral()
// mavenLocal()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/'
allowInsecureProtocol = true
}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'
allowInsecureProtocol = true
}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/google'
allowInsecureProtocol = true
}
maven { url 'http://maven.aliyun.com/nexus/content/repositories/gradle-plugin'
allowInsecureProtocol = true
}
maven {
url 'https://maven.google.com/'
name 'Google'
allowInsecureProtocol = true
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots"
allowInsecureProtocol = true
}
maven { url "https://repo.maven.apache.org/maven2"
allowInsecureProtocol = true
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。