加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 971 Bytes
一键复制 编辑 原始数据 按行查看 历史
<<<<<<< HEAD
group 'DetaNLP'
=======
group 'Deta_Parser'
>>>>>>> branch 'master' of https://gitee.com/DetaChina/DetaParser.git
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
ext {
springBootVersion = '1.5.2.RELEASE'
}
repositories {
// mavenCentral()
def REPOSITORY_URL = 'http://maven.aliyun.com/nexus/content/groups/public/'
all { ArtifactRepository repo ->
if (repo instanceof MavenArtifactRepository) {
def url = repo.url.toString()
if (url.startsWith('https://repo1.maven.org/maven2') || url.startsWith('https://jcenter.bintray.com/')) {
project.logger.lifecycle "Repository ${repo.url} replaced by $REPOSITORY_URL."
remove repo
}
}
}
maven {
url REPOSITORY_URL
}
}
dependencies {
// https://mvnrepository.com/artifact/junit/junit
testCompile group: 'junit', name: 'junit', version: '4.12'
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化