We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c30fd80 commit dfc9085Copy full SHA for dfc9085
shared/src/main/kotlin/org/javacs/kt/classpath/ClassPathResolver.kt
@@ -29,6 +29,13 @@ interface ClassPathResolver {
29
30
val classpathWithSources: Set<ClassPathEntry> get() = classpath
31
32
+ /**
33
+ * This should return the current build file version.
34
+ * It usually translates to the file's lastModified time.
35
+ * Resolvers that don't have a build file use the default (i.e., 1).
36
+ * We use 1, because this will prevent any attempt to cache non cacheable resolvers
37
+ * (see [CachedClassPathResolver.dependenciesChanged]).
38
+ */
39
fun getCurrentBuildFileVersion(): Long = 1L
40
41
companion object {
0 commit comments