依赖API
2020-03-22 本文已影响0人
龙剑灵
buildscript { ScriptHandler scriptHandler ->
//配置工程的仓库地址
scriptHandler.repositories { RepositoryHandler handler ->
handler.jcenter()
handler.mavenCentral()
handler.mavenLocal()
handler.ivy {} //弃用
handler.maven {
name 'compnay'
url 'http://localhost://88899/nexus/repositories'
credentials {
username = "admin"
password = 'admin123'
}
}
}
//配置工程的"插件"依赖地址
scriptHandler.dependencies {}
}
buildscript {
//配置工程的仓库地址
repositories {
jcenter()
mavenCentral()
mavenLocal()
ivy {} //弃用
maven {
name 'compnay'
url 'http://localhost://88899/nexus/repositories'
credentials {
username = "admin"
password = 'admin123'
}
}
}
//配置工程的"插件"依赖地址
dependencies {}
}
image.png
image.png
image.png
image.png
image.png