Search in sources :

Example 1 with LocalClassSetAnalysisStore

use of org.gradle.api.internal.tasks.compile.incremental.deps.LocalClassSetAnalysisStore in project gradle by gradle.

the class JavaCompile method createCompileCaches.

private CompileCaches createCompileCaches() {
    final GeneralCompileCaches generalCaches = getGeneralCompileCaches();
    final LocalClassSetAnalysisStore localClassSetAnalysisStore = generalCaches.createLocalClassSetAnalysisStore(getPath());
    final LocalJarClasspathSnapshotStore localJarClasspathSnapshotStore = generalCaches.createLocalJarClasspathSnapshotStore(getPath());
    return new CompileCaches() {

        public ClassAnalysisCache getClassAnalysisCache() {
            return generalCaches.getClassAnalysisCache();
        }

        public JarSnapshotCache getJarSnapshotCache() {
            return generalCaches.getJarSnapshotCache();
        }

        public LocalJarClasspathSnapshotStore getLocalJarClasspathSnapshotStore() {
            return localJarClasspathSnapshotStore;
        }

        public LocalClassSetAnalysisStore getLocalClassSetAnalysisStore() {
            return localClassSetAnalysisStore;
        }
    };
}
Also used : GeneralCompileCaches(org.gradle.api.internal.tasks.compile.incremental.cache.GeneralCompileCaches) LocalClassSetAnalysisStore(org.gradle.api.internal.tasks.compile.incremental.deps.LocalClassSetAnalysisStore) CompileCaches(org.gradle.api.internal.tasks.compile.incremental.cache.CompileCaches) GeneralCompileCaches(org.gradle.api.internal.tasks.compile.incremental.cache.GeneralCompileCaches) LocalJarClasspathSnapshotStore(org.gradle.api.internal.tasks.compile.incremental.jar.LocalJarClasspathSnapshotStore)

Aggregations

CompileCaches (org.gradle.api.internal.tasks.compile.incremental.cache.CompileCaches)1 GeneralCompileCaches (org.gradle.api.internal.tasks.compile.incremental.cache.GeneralCompileCaches)1 LocalClassSetAnalysisStore (org.gradle.api.internal.tasks.compile.incremental.deps.LocalClassSetAnalysisStore)1 LocalJarClasspathSnapshotStore (org.gradle.api.internal.tasks.compile.incremental.jar.LocalJarClasspathSnapshotStore)1