Skip to content

Commit

Permalink
fix security leak
Browse files Browse the repository at this point in the history
  • Loading branch information
iNanos committed Aug 17, 2020
1 parent 393f3f9 commit 2163909
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ subprojects {
apply plugin: "idea"
apply plugin: "project-reports"
apply plugin: "jacoco"
apply plugin: "checkstyle"
// apply plugin: "checkstyle"
apply plugin: "pmd"
apply plugin: 'com.github.spotbugs'

Expand All @@ -103,20 +103,20 @@ subprojects {
}
}

checkstyle {
toolVersion = "8.32"
ignoreFailures = true
sourceSets = [sourceSets.main]
configFile = 'conf/checkstyle.xml' as File
showViolations true
}

tasks.withType(Checkstyle) {
reports {
xml.enabled false
html.enabled true
}
}
// checkstyle {
// toolVersion = "8.32"
// ignoreFailures = true
// sourceSets = [sourceSets.main]
// configFile = 'conf/checkstyle.xml' as File
// showViolations true
// }
//
// tasks.withType(Checkstyle) {
// reports {
// xml.enabled false
// html.enabled true
// }
// }

spotbugs {
toolVersion = '4.0.2'
Expand Down Expand Up @@ -178,11 +178,11 @@ subprojects {
]

List logback = [
"org.slf4j:slf4j-api:1.7.25"
"org.slf4j:slf4j-api:1.7.30"
]

List guava = [
"com.google.guava:guava:20.0"
"com.google.guava:guava:29.0-jre"
]

List fastjson = [
Expand Down Expand Up @@ -300,15 +300,14 @@ subprojects {
uploadArchives {
repositories {
mavenDeployer {
snapshotRepository(url: 'file://D:\\LocalRepo') {
snapshotRepository(url: 'Your target repo address') {
authentication(userName: 'Your user name', password: 'Your password')
}
repository(url: 'file://D:\\LocalRepo') {
repository(url: 'Your target repo address') {
authentication(userName: 'Your user name', password: 'Your password')
}
}
}
}

}

0 comments on commit 2163909

Please sign in to comment.