You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.x: no need to run gradle assembe by travis (ReactiveX#4183)
* 1.x: no need to run gradle assembe by travis
* Also update the sh with the parameter
* +git fsck
* full check
* limit clone depth
* Limit memory even further
* disable PMD
Copy file name to clipboardExpand all lines: build.gradle
+35-35
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ buildscript {
11
11
description ='RxJava: Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.'
12
12
13
13
apply plugin: 'java'
14
-
apply plugin: 'pmd'
14
+
//apply plugin: 'pmd'
15
15
apply plugin: 'findbugs'
16
16
apply plugin: 'jacoco'
17
17
apply plugin: 'ru.vyarus.animalsniffer'
@@ -61,7 +61,7 @@ if (project.hasProperty('release.useLastTag')) {
61
61
}
62
62
63
63
test{
64
-
maxHeapSize ="1500m"
64
+
maxHeapSize ="1200m"
65
65
}
66
66
67
67
license {
@@ -81,40 +81,40 @@ jacocoTestReport {
81
81
82
82
build.dependsOn jacocoTestReport
83
83
84
-
pmd {
85
-
toolVersion ='5.4.2'
86
-
ignoreFailures =true
87
-
sourceSets = [sourceSets.main]
88
-
ruleSets = []
89
-
ruleSetFiles = files('pmd.xml')
90
-
91
-
}
92
-
93
-
pmdMain {
94
-
reports {
95
-
html.enabled =true
96
-
xml.enabled =true
97
-
}
98
-
}
99
-
100
-
task pmdPrint(dependsOn: 'pmdMain') << {
101
-
File file =newFile('build/reports/pmd/main.xml')
102
-
if (file.exists()) {
103
-
104
-
println("Listing first 100 PMD violations")
105
-
106
-
file.eachLine { line, count->
107
-
if (count <=100) {
108
-
println(line)
109
-
}
110
-
}
111
-
112
-
} else {
113
-
println("PMD file not found.")
114
-
}
115
-
}
116
84
117
-
build.dependsOn pmdPrint
85
+
//pmd {
86
+
// toolVersion = '5.4.2'
87
+
// ignoreFailures = true
88
+
// sourceSets = [sourceSets.main]
89
+
// ruleSets = []
90
+
// ruleSetFiles = files('pmd.xml')
91
+
//}
92
+
93
+
//pmdMain {
94
+
// reports {
95
+
// html.enabled = true
96
+
// xml.enabled = true
97
+
// }
98
+
//}
99
+
100
+
//task pmdPrint(dependsOn: 'pmdMain') << {
101
+
// File file = new File('build/reports/pmd/main.xml')
0 commit comments