Commit 71eefa2e authored by xuefeng's avatar xuefeng

友推

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

FROM java:duiba
RUN rm -rf /root/duiba-deploy
ADD ./build/libs/tuia-youtui-web-1.0.jar /root/duiba-deploy/tuia-youtui-web.jar
\ No newline at end of file
# tuia-youtui-web
1.推啊活动系统
2.访问活动页面
3.活动参与发广告券
\ No newline at end of file
buildscript {
repositories {
mavenLocal()
maven { url "http://nexus.dui88.com:8081/nexus/content/groups/public/" }
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" } //sonarqube
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE")
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:1.2' //sonarqube
}
}
plugins{
id 'org.sonarqube' version '2.5'
id "io.spring.dependency-management" version "0.6.1.RELEASE"
}
//sonarqube
apply plugin: 'org.sonarqube'
sonarqube {
properties {
property "sonar.projectName", "tuia-youtui-web"
property "sonar.projectKey", "cn.com.duiba:tuia-youtui-web"
}
}
allprojects {
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'jacoco'
test {
ignoreFailures = true
}
ext{
duibaBootVersion='1.2.142'
springBootVersion='1.5.10.RELEASE'
}
//指定jdk版本
sourceCompatibility = 1.8
targetCompatibility = 1.8
configurations {
all*.exclude group: 'log4j', module: 'log4j'//全局排除log4j
}
dependencyManagement {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
cacheDynamicVersionsFor 0, 'seconds'
}
dependencies {
imports {
mavenBom "cn.com.duiba.boot:spring-boot-ext-dependencies:${duibaBootVersion}"
//把cn.com.duiba.boot:也改为这种依赖方式,更优雅
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom 'org.springframework.cloud:spring-cloud-dependencies:Edgware.SR2'
}
}
}
}
jar {
baseName = 'tuia-youtui-web'
// version = '1.0'
manifest { attributes 'Main-Class': 'com.duiba.tuia.youtui.web.Application' }
}
bootRepackage {
mainClass = 'com.duiba.tuia.youtui.web.Application'
}
repositories {
mavenLocal()
maven { url "http://nexus.dui88.com:8081/nexus/content/groups/public/" }
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
mavenCentral()
}
dependencies {
//系统服务
compile("org.springframework.boot:spring-boot-starter-web")
// compile("cn.com.duiba.boot:spring-boot-starter-velocity:${duibaBootVersion}")
compile("org.springframework.boot:spring-boot-starter-aop")
compile('org.json:org.json:chargebee-1.0')
compile('commons-lang:commons-lang:2.6')
compile('com.google.guava:guava:18.0')
compile('com.googlecode.xmemcached:xmemcached:1.4.3')
compile("org.apache.zookeeper:zookeeper:3.4.8") { exclude group: 'org.slf4j' }
compile('commons-codec:commons-codec:1.10')
compile("org.javatuples:javatuples:1.2")
compile("com.github.sgroschupf:zkclient:0.1") { exclude group: 'org.slf4j' }
compile("cn.com.duiba:java-sdk:0.0.20") { exclude group: 'log4j:log4j' }
compile("io.springfox:springfox-swagger-ui:2.2.2")
compile("io.springfox:springfox-swagger2:2.2.2")
compile('org.perf4j:perf4j:0.9.16') { exclude group: "log4j" }
compile("com.dangdang:elastic-job-core:1.0.6")
compile("com.dangdang:elastic-job-spring:1.0.6")
compile('org.projectlombok:lombok:1.16.4')
compile('org.jsoup:jsoup:1.11.2')
compile ("org.springframework.kafka:spring-kafka:1.1.6.RELEASE")
compile("com.alibaba:dubbo:2.5.4.8.dbfix") { exclude group: 'org.springframework' }
compile("cn.com.duiba.boot:spring-boot-starter-velocity")
compile("cn.com.duiba.boot:spring-boot-starter-cat")
compile("cn.com.duiba.boot:spring-boot-starter-perftest")
compile("cn.com.duiba.boot:spring-boot-starter-accesslog")
compile("cn.com.duiba.boot:spring-boot-starter-config")
compile("cn.com.duiba.boot:spring-boot-starter-logger")
compile("cn.com.duiba.boot:spring-boot-starter-ons")
compile("cn.com.duiba.boot:spring-boot-starter-redis")
compile("cn.com.duiba.boot:spring-boot-starter-rocketmq")
compile("cn.com.duiba.boot:spring-boot-starter-xss")
//基础服务Land
compile('cn.com.duiba.stock-service:stock-service-api:2.1.1') { transitive = false }
compile("cn.com.duiba.tuia:tuia-client:0.3.1-SNAPSHOT") { transitive = false }
compile('cn.com.duiba.developer-center:developer-center-api:1.6.5-SNAPSHOT')
compile('cn.com.duiba.consumer-center:consumer-center-api:1.0.12-SNAPSHOT')
compile("cn.com.duiba.tuia-activity-center:activity-center-api:0.9.0.1"){ transitive = false }
compile('cn.com.duiba.goods-center:goods-center-api:2.3.6-SNAPSHOT')
compile('cn.com.duiba:wolf:2.2.10')
compile('cn.com.duiba:intersection-service-api:1.1.9-SNAPSHOT'){ exclude group: 'ch.qos.logback' }
compile('cn.com.duiba.dayu-web:dayu-api:1.0.4-SNAPSHOT')
compile('cn.com.duiba.tuia-ssp-center:ssp-center-api:0.2.39-SNAPSHOT'){ transitive = false }
compile 'org.springframework.boot:spring-boot-starter-actuator'
compile 'org.springframework.cloud:spring-cloud-starter-config'
compile 'org.springframework.cloud:spring-cloud-starter-eureka'
compile 'org.springframework.cloud:spring-cloud-starter-hystrix'
compile 'org.springframework.cloud:spring-cloud-starter-ribbon'
compile 'org.springframework.cloud:spring-cloud-starter-feign'
compile ('javax.servlet:javax.servlet-api')
//test
testCompile("org.springframework.boot:spring-boot-starter-test")
testCompile("junit:junit:4.12")
testCompile("org.powermock:powermock-module-junit4-rule-agent:1.6.5")
testCompile("org.powermock:powermock-module-junit4:1.6.5")
testCompile("org.powermock:powermock-api-mockito:1.6.5")
testCompile("org.powermock:powermock-core:1.6.5")
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment