代码拉取完成,页面将自动刷新
allprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'maven'
idea {
module {
downloadSources = true
downloadJavadoc = true
}
}
configurations {
provided
compile.extendsFrom provided
deployerJars
}
uploadArchives {
repositories {
mavenDeployer {
configuration = configurations.deployerJars
snapshotRepository(url: "http://nexus.opscloud.com/nexus/content/repositories/snapshots/") {
authentication(userName: "opscloud", password: "opscloud")
}
repository(url: "http://nexus.nexus.opscloud.com/nexus/content/repositories/releases/") {
authentication(userName: "opscloud", password: "opscloud")
}
}
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
// repositories {
// maven {
// name 'sdg-repository'
// url 'http://repo1.maven.org/maven2/'
// }
// mavenLocal()
// }
// http://maven.aliyun.com/nexus/content/groups/public/
repositories {
maven {
name 'aliyun maven'
url 'https://maven.aliyun.com/repository/public/'
}
mavenLocal()
}
configurations.all {
// check for updates every build
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
group 'com.sdg'
version '2.0.1-SNAPSHOT'
sourceCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
}
ext {
springVersion = '4.3.3.RELEASE'
druidVersion = '1.0.14'
dubboVersion = '2.5.3'
mysqlVersion = '5.1.36'
slf4jVersion = '1.7.25'
jacksonVersion = '1.9.13'
}
subprojects {
dependencies {
deployerJars "org.apache.maven.wagon:wagon-http:2.2"
testCompile "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.2"
testCompile "org.jacoco:jacoco-maven-plugin:0.7.4.201502262128"
testCompile "junit:junit:4.12"
testCompile "org.mockito:mockito-all:1.10.19"
compile "org.apache.commons:commons-lang3:3.1"
compile "commons-collections:commons-collections:3.2.1"
compile "org.springframework:spring-context:${springVersion}"
compile "org.springframework:spring-context-support:${springVersion}"
compile "org.springframework:spring-core:${springVersion}"
compile "org.springframework:spring-beans:${springVersion}"
compile "org.springframework:spring-web:${springVersion}"
compile "org.springframework:spring-webmvc:${springVersion}"
compile "org.springframework:spring-tx:${springVersion}"
compile "org.springframework:spring-jdbc:${springVersion}"
compile "org.springframework:spring-test:${springVersion}"
compile "org.springframework:spring-aop:${springVersion}"
compile('org.springframework.data:spring-data-redis:1.7.2.RELEASE')
compile 'redis.clients:jedis:2.6.3'
compile 'com.alibaba:fastjson:1.2.13'
compile "org.slf4j:slf4j-api:${slf4jVersion}"
compile "org.slf4j:log4j-over-slf4j:${slf4jVersion}"
compile "org.slf4j:jcl-over-slf4j:${slf4jVersion}"
compile "org.codehaus.jackson:jackson-core-asl:${jacksonVersion}"
compile "org.codehaus.jackson:jackson-mapper-asl:${jacksonVersion}"
compile "com.fasterxml.jackson.core:jackson-core:2.4.4"
compile "com.fasterxml.jackson.core:jackson-databind:2.4.4"
compile group: 'com.aliyun', name: 'aliyun-java-sdk-core', version: '4.3.3'
// Aliyun ECS
compile group: 'com.aliyun', name: 'aliyun-java-sdk-ecs', version: '4.16.1'
// Aliyun VPC
compile group: 'com.aliyun', name: 'aliyun-java-sdk-vpc', version: '3.0.2'
// Aliyun OSS
compile group: 'com.aliyun.oss', name: 'aliyun-sdk-oss', version: '3.4.0'
// 阿里云日志服务
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '2.5.0'
compile group: 'com.aliyun.openservices', name: 'aliyun-log', version: '0.6.6'
// 阿里云CDN
compile group: 'com.aliyun', name: 'aliyun-java-sdk-cdn', version: '2.8.0'
// 阿里云RAM
compile group: 'com.aliyun', name: 'aliyun-java-sdk-ram', version: '2.0.7'
// 消息队列 RocketMQ
compile group: 'com.aliyun', name: 'aliyun-java-sdk-ons', version: '3.0.0'
//compile group: 'org.apache.directory.api', name: 'api-all', version: '2.0.0.AM2'
// gitlab API
compile(group: 'org.gitlab', name: 'java-gitlab-api', version: '4.1.0') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
// Guava: Google Core Libraries for Java
compile group: 'com.google.guava', name: 'guava', version: '27.0.1-jre'
// Jackson 可视化json
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.7.4'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.7.4'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.7.4'
compile 'org.yaml:snakeyaml:1.24'
// kubernetes
compile 'io.fabric8:kubernetes-client:3.2.0'
compile('io.fabric8:kubernetes-model:2.0.9')
compile('io.fabric8:fabric-utils:2.0.46')
compile('io.fabric8:kubernetes-api:3.0.8')
compile group: 'com.vmware', name: 'vijava', version: '5.1'
compile 'ch.qos.logback:logback-classic:1.2.3'
compile group: 'org.projectlombok', name: 'lombok', version: '1.18.4'
// dubbo探测
compile group: 'commons-net', name: 'commons-net', version: '3.3'
// https://mvnrepository.com/artifact/org.codehaus.sonar/sonar-ws-client
compile group: 'org.codehaus.sonar', name: 'sonar-ws-client', version: '5.1'
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。