diff --git a/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/TestCordappsUtils.kt b/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/TestCordappsUtils.kt index 5ab15cb556..241a5cc7e3 100644 --- a/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/TestCordappsUtils.kt +++ b/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/TestCordappsUtils.kt @@ -66,7 +66,7 @@ fun TestCordappImpl.packageAsJar(file: Path) { scanResult.use { val manifest = createTestManifest(name, title, version, vendor, targetVersion) JarOutputStream(file.outputStream(), manifest).use { jos -> - val time = FileTime.from(Instant.now()) + val time = FileTime.from(Instant.EPOCH) // The same resource may be found in different locations (this will happen when running from gradle) so just // pick the first one found. scanResult.allResources.asMap().forEach { path, resourceList ->