File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/kotlin/io/bazel/kotlin/builder/tasks/jvm Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,13 @@ class ClasspathSnapshotGenerator(
17
17
) {
18
18
19
19
fun run () {
20
- if (outputSnapshot.exists()) { return }
20
+ // if (outputSnapshot.exists()) { return }
21
21
val timeSpent = measureTimeMillis {
22
22
val compilationService = CompilationService .loadImplementation(this .javaClass.classLoader!! )
23
- // val snapshot =
24
- // compilationService.calculateClasspathSnapshot(
25
- // inputJar.toFile(), granularity.toClassSnapshotGranularity)
26
- // snapshot.saveSnapshot(outputSnapshot.toFile())
23
+ val snapshot =
24
+ compilationService.calculateClasspathSnapshot(
25
+ inputJar.toFile(), granularity.toClassSnapshotGranularity)
26
+ snapshot.saveSnapshot(outputSnapshot.toFile())
27
27
}
28
28
// TODO: Log impl
29
29
// LOG.info("$timeSpent ms for input jar: $inputJar")
You can’t perform that action at this time.
0 commit comments