代码拉取完成,页面将自动刷新
buildscript {
repositories {
jcenter()
dependencies {
classpath(group: 'org.jfrog.buildinfo', name: 'build-info-extractor-gradle', version: '4.+')
}
}
}
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: "com.jfrog.artifactory"
group 'com.hxfai.risk.commVar'
version '1.0.127-SNAPSHOT'
repositories {
maven {
url "${artifactory_url}/jcenter" // The Artifactory (preferably virtual) repository to resolve from
credentials {
username "${artifactory_user}"
password "${artifactory_password}"
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
javadoc {
options.addStringOption("charset", "UTF-8")
}
dependencies {
compile group: 'com.google.guava', name: 'guava', version: '28.0-jre'
compile group: 'org.reflections', name: 'reflections', version: '0.9.12'
compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.9'
compile 'org.springframework:spring-oxm:4.1.5.RELEASE'
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.60'
compile "org.apache.directory.studio:org.apache.commons.io:2.4"
implementation 'joda-time:joda-time:2.10.5'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.5'
compile group: 'org.apache.commons', name: 'commons-collections4', version: '4.4'
annotationProcessor 'org.projectlombok:lombok:1.18.2'
compileOnly 'org.projectlombok:lombok:1.18.2'
testCompileOnly 'org.projectlombok:lombok:1.18.12'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12'
testCompile 'junit:junit:4.12'
compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.30'
testCompile 'org.spockframework:spock-core:1.1-groovy-2.4-rc-2'
compile group: 'org.json', name: 'json', version: '20160810'
}
configurations {
published
}
artifactory {
contextUrl = "${artifactory_url}"
publish {
repository {
repoKey = 'libs-snapshot-local'
username = "${artifactory_user}"
password = "${artifactory_password}"
maven = true
}
defaults {
publications ('mavenJava')
}
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。