File tree 1 file changed +16
-0
lines changed
1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,10 @@ if (project == rootProject) {
128
128
}
129
129
mavenCentral()
130
130
}
131
+ test {
132
+ include " **/*Tests.class"
133
+ exclude " **/*IT.class"
134
+ }
131
135
}
132
136
133
137
/* ****************************************************************************
@@ -152,6 +156,18 @@ if (project != rootProject) {
152
156
jarHell. enabled = false
153
157
thirdPartyAudit. enabled = false
154
158
159
+ // tests can't be run with randomized test runner
160
+ // it's fine as we run them as part of :buildSrc
161
+ test. enabled = false
162
+ task integTest(type : Test ) {
163
+ exclude " **/*Tests.class"
164
+ include " **/*IT.class"
165
+ testClassesDirs = sourceSets. test. output. classesDirs
166
+ classpath = sourceSets. test. runtimeClasspath
167
+ inputs. dir(file(" src/testKit" ))
168
+ }
169
+ check. dependsOn(integTest)
170
+
155
171
// TODO: re-enable once randomizedtesting gradle code is published and removed from here
156
172
licenseHeaders. enabled = false
157
173
You can’t perform that action at this time.
0 commit comments