build: add three-ten to backport java time
@@ -38,8 +38,11 @@ dependencies {
// use CompletableFuture directly.
// https://github.com/stefan-zobel/streamsupport
// https://developer.android.com/about/dashboards/index.html
- implementation 'net.sourceforge.streamsupport:streamsupport:1.7.2'
- implementation 'net.sourceforge.streamsupport:streamsupport-cfuture:1.7.2'
+ implementation "net.sourceforge.streamsupport:streamsupport:1.7.2"
+ implementation "net.sourceforge.streamsupport:streamsupport-cfuture:1.7.2"
+
+ // NOTE: This is to support Android API < 26.
+ implementation "org.threeten:threetenbp:1.4.2"
// NOTE: BouncyCastle is frozen at v1.60 for compatibility with Corda <https://www.corda.net/>
// <https://github.com/corda/corda/blob/2c10b6c3b9dace7831b5da73a065c3269a703d85/constants.properties#L23>
@@ -120,8 +123,8 @@ sourceSets {
idea {
module {
- sourceDirs -= file('src/integrationTest/java')
- testSourceDirs += file('src/integrationTest/java')
+ sourceDirs -= file("src/integrationTest/java")
+ testSourceDirs += file("src/integrationTest/java")
}
}
@@ -144,6 +147,7 @@ tasks.withType(Test) {
// emit logs per passed or failed test
testLogging {
+ exceptionFormat = 'full'
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
