代码拉取完成,页面将自动刷新
group 'com.fshows.fubei'
version '1.0.2-SNAPSHOT'
// 所有项目
allprojects {
apply plugin: 'java'
// apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
configurations {
compile.exclude module: 'spring-boot-starter-logging'
compile.exclude module: 'logback-classic'
compile.exclude module: 'log4j-over-slf4j'
compile.exclude module: 'slf4j-log4j12'
compile.exclude module: 'log4j'
}
}
buildscript {
repositories {
maven { url "https://mirrors.huaweicloud.com/repository/maven/" }
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
}
}
// 子项目
subprojects {
sourceCompatibility = 1.6
targetCompatibility = 1.6
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
// 打包源码
task packageSources(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts.archives packageSources
clean.delete += file("$projectDir/out")
ext {
}
repositories {
mavenLocal()
maven { url "https://mirrors.huaweicloud.com/repository/maven/" }
}
dependencies {
testImplementation 'junit:junit:4.12'
testImplementation 'org.powermock:powermock-core:1.6.5'
testImplementation 'org.powermock:powermock-api-mockito:1.6.5'
testImplementation 'org.powermock:powermock-module-junit4:1.6.5'
testImplementation 'org.mockito:mockito-all:1.10.19'
testImplementation 'commons-codec:commons-codec:1.10'
testImplementation 'org.apache.commons:commons-lang3:3.9'
implementation 'com.google.guava:guava:26.0-jre'
implementation 'com.alibaba:fastjson:1.2.31'
implementation 'com.annimon:stream:1.2.1'
implementation 'com.squareup.retrofit2:retrofit:2.6.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.2'
// 日志
implementation 'org.slf4j:slf4j-api:1.7.26'
implementation 'org.slf4j:slf4j-simple:1.7.26'
shadow 'com.google.guava:guava:26.0-jre'
shadow 'com.alibaba:fastjson:1.2.31'
shadow 'com.annimon:stream:1.2.1'
shadow 'com.squareup.retrofit2:retrofit:2.6.0'
shadow 'com.squareup.okhttp3:logging-interceptor:3.14.2'
// 日志
shadow 'org.slf4j:slf4j-api:1.7.26'
shadow 'org.slf4j:slf4j-simple:1.7.26'
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。