java gradle 私服配置
buildscript {repositories {maven {url 'https://af-biz.qianxin-inc.cn:443/artifactory/sncbackground'credentials {username = "${artifactory_user}"password = "${artifactory_password}"...
buildscript {
repositories {
maven {
url 'https://af-biz.qianxin-inc.cn:443/artifactory/sncbackground'
credentials {
username = "${artifactory_user}"
password = "${artifactory_password}"
}
}
}
dependencies {
//Check for the latest version here: http://plugins.gradle.org/plugin/com.jfrog.artifactory
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
}
}
allprojects {
apply plugin: "com.jfrog.artifactory"
}
artifactory {
contextUrl = "${artifactory_contextUrl}" //The base Artifactory URL if not overridden by the publisher/resolver
publish {
repository {
repoKey = 'sncbackground-release'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
}
resolve {
repository {
repoKey = 'sncbackground'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
}
}
更多推荐
所有评论(0)