@Override public ConfigurableFileCollection call() throws Exception { return project.files(androidBuilder.getCompileClasspath(variantConfig)); } });
@Override @NonNull public Collection<File> getCompileLibraries() { return androidBuilder.getCompileClasspath( getVariantData().getVariantConfiguration()); }
@Override @NonNull public Collection<File> getCompileLibraries() { return androidBuilder.getCompileClasspath( getVariantData().getVariantConfiguration()); }
@Override public Iterable<File> call() throws Exception { // get all the compiled jar. Set<File> compiledJars = scope.getGlobalScope().getAndroidBuilder() .getCompileClasspath(variantConfig); // and remove local jar that are also packaged final List<File> localJars = DependencyManager .getPackagedLocalJarFileList(variantData.getVariantDependency()); return Iterables.filter(compiledJars, new Predicate<File>() { @Override public boolean apply(File file) { return !localJars.contains(file); } }); } };
@NonNull public FileCollection getJavaClasspath() { return getGlobalScope().getProject().files( getGlobalScope().getAndroidBuilder().getCompileClasspath( getVariantData().getVariantConfiguration())); }
@Override @NonNull public FileCollection getJavaClasspath() { return getGlobalScope().getProject().files( getGlobalScope().getAndroidBuilder().getCompileClasspath( getVariantData().getVariantConfiguration())); }