86 lines
2.9 KiB
Diff
86 lines
2.9 KiB
Diff
|
|
From c0f704d29394458523befaa573d8f2178e734c2e Mon Sep 17 00:00:00 2001
|
||
|
|
From: Michael Simacek <msimacek@redhat.com>
|
||
|
|
Date: Wed, 20 Sep 2017 15:26:10 +0300
|
||
|
|
Subject: [PATCH 06/18] Disable code quality checks
|
||
|
|
|
||
|
|
---
|
||
|
|
build.gradle | 4 ----
|
||
|
|
buildSrc/build.gradle | 9 ---------
|
||
|
|
gradle/classycle.gradle | 7 -------
|
||
|
|
subprojects/distributions/distributions.gradle | 2 --
|
||
|
|
4 files changed, 22 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/build.gradle b/build.gradle
|
||
|
|
index b4504db8f7c..71946257775 100644
|
||
|
|
--- a/build.gradle
|
||
|
|
+++ b/build.gradle
|
||
|
|
@@ -211,15 +211,11 @@ subprojects {
|
||
|
|
apply from: "$rootDir/gradle/groovyProject.gradle"
|
||
|
|
apply from: "$rootDir/gradle/testWithUnknownOS.gradle"
|
||
|
|
apply from: "$rootDir/gradle/java9.gradle"
|
||
|
|
- check.dependsOn ":docs:checkstyleApi"
|
||
|
|
- check.dependsOn "codeQuality"
|
||
|
|
}
|
||
|
|
|
||
|
|
if (project in publishedProjects) {
|
||
|
|
apply from: "$rootDir/gradle/publish.gradle"
|
||
|
|
}
|
||
|
|
-
|
||
|
|
- apply from: "$rootDir/gradle/codeQuality.gradle"
|
||
|
|
}
|
||
|
|
|
||
|
|
configurations {
|
||
|
|
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
|
||
|
|
index e5b73f35ef5..d3f842f6bf6 100644
|
||
|
|
--- a/buildSrc/build.gradle
|
||
|
|
+++ b/buildSrc/build.gradle
|
||
|
|
@@ -46,9 +46,6 @@ dependencies {
|
||
|
|
|
||
|
|
compile "org.pegdown:pegdown:1.6.0"
|
||
|
|
compile "org.jsoup:jsoup:1.6.3"
|
||
|
|
- compile 'me.champeau.gradle:japicmp-gradle-plugin:0.2.4'
|
||
|
|
- compile 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.3'
|
||
|
|
- compile 'com.github.javaparser:javaparser-core:2.4.0'
|
||
|
|
}
|
||
|
|
|
||
|
|
ext.isCiServer = System.getenv().containsKey("CI")
|
||
|
|
@@ -56,9 +53,3 @@ ext.isCiServer = System.getenv().containsKey("CI")
|
||
|
|
apply from: '../gradle/compile.gradle'
|
||
|
|
apply from: '../gradle/dependencies.gradle'
|
||
|
|
apply from: '../gradle/classycle.gradle'
|
||
|
|
-
|
||
|
|
-if (!isCiServer || (isCiServer && Boolean.getBoolean('enableCodeQuality'))) {
|
||
|
|
- apply from: '../gradle/codeQuality.gradle'
|
||
|
|
-}
|
||
|
|
-
|
||
|
|
-apply from: "../gradle/ciReporting.gradle"
|
||
|
|
diff --git a/gradle/classycle.gradle b/gradle/classycle.gradle
|
||
|
|
index ba44bdfed3b..5396cf3c5ed 100644
|
||
|
|
--- a/gradle/classycle.gradle
|
||
|
|
+++ b/gradle/classycle.gradle
|
||
|
|
@@ -1,11 +1,4 @@
|
||
|
|
allprojects {
|
||
|
|
ext.useClassycle = { params = [:] ->
|
||
|
|
- def excludePatterns = params.exclude ?: []
|
||
|
|
-
|
||
|
|
- apply plugin: org.gradle.plugins.classycle.ClassyclePlugin
|
||
|
|
-
|
||
|
|
- tasks.withType(org.gradle.plugins.classycle.Classycle).all() {
|
||
|
|
- it.excludePatterns = excludePatterns
|
||
|
|
- }
|
||
|
|
}
|
||
|
|
}
|
||
|
|
diff --git a/subprojects/distributions/distributions.gradle b/subprojects/distributions/distributions.gradle
|
||
|
|
index cff1db232ba..8e29f7dd942 100644
|
||
|
|
--- a/subprojects/distributions/distributions.gradle
|
||
|
|
+++ b/subprojects/distributions/distributions.gradle
|
||
|
|
@@ -130,5 +130,3 @@ integTestTasks.all {
|
||
|
|
systemProperty 'org.gradle.public.api.includes', publicApiIncludes.join(':')
|
||
|
|
systemProperty 'org.gradle.public.api.excludes', publicApiExcludes.join(':')
|
||
|
|
}
|
||
|
|
-
|
||
|
|
-apply from: 'binary-compatibility.gradle'
|
||
|
|
--
|
||
|
|
2.20.1
|
||
|
|
|