Fix NoClassDefFoundError from Gradle upgradle

This commit is contained in:
Rob Winch
2013-12-05 11:37:45 -06:00
parent 3074dd8193
commit 0a48b38179

View File

@@ -74,13 +74,12 @@ dependencies {
exclude(group: 'commons-logging', module: 'commons-logging')
}
testCompile 'junit:junit:4.10',
'junit:junit-dep:4.10',
testCompile 'junit:junit-dep:4.10',
'org.mockito:mockito-core:1.9.5',
'org.jmock:jmock:2.6.0',
'org.jmock:jmock-junit4:2.6.0',
'org.hamcrest:hamcrest-core:1.1',
'org.hamcrest:hamcrest-library:1.1',
'org.hamcrest:hamcrest-core:1.3',
'org.hamcrest:hamcrest-library:1.3',
"org.springframework:spring-test:$springVersion"
// Use slf4j/logback for logging
testRuntime "org.slf4j:jcl-over-slf4j:$slf4jVersion",
@@ -95,7 +94,7 @@ test {
jvmArgs = ['-ea', '-Xmx500m']
maxParallelForks = guessMaxForks()
logging.captureStandardOutput(LogLevel.INFO)
testReport = false
//testReport = false
}
def guessMaxForks() {
int processors = Runtime.runtime.availableProcessors()