@Classpath @InputFiles private Iterable<File> scanClasspath;
@InputFiles @Classpath FileCollection getJarDependencies() { //Thanks to Xavier Durcrohet for this //https://android.googlesource.com/platform/tools/base/+/gradle_3.0.0/build-system/gradle-core/src/main/java/com/android/build/gradle/internal/scope/VariantScopeImpl.java#1037 Action<AttributeContainer> attributes = container -> container.attribute(ARTIFACT_TYPE, AndroidArtifacts.ArtifactType.CLASSES.getType()); boolean lenientMode = false; return variant .getCompileConfiguration() .getIncoming() .artifactView( config -> { config.attributes(attributes); config.lenient(lenientMode); }) .getArtifacts() .getArtifactFiles(); }
/** * Class path holding the SpotBugs library. * * @return class path holding the SpotBugs library */ @Classpath public FileCollection getSpotbugsClasspath() { return spotbugsClasspath; }
/** * Class path holding any additional SpotBugs plugins. * * @return class path holding any additional SpotBugs plugin */ @Classpath public FileCollection getPluginClasspath() { return pluginClasspath; }
/** * Class path holding any additional SpotBugs plugins. * * @return class path holding any additional SpotBugs plugin */ @Classpath public FileCollection getPluginClasspath() { return pluginClasspath; }
/** * Class path holding the SpotBugs library. * * @return class path holding the SpotBugs library */ @Classpath public FileCollection getSpotbugsClasspath() { return spotbugsClasspath; }
/** * Compile class path for the classes to be analyzed. The classes on this class path are used during analysis but * aren't analyzed themselves. * * @return compile class path for the classes to be analyze */ @Classpath public FileCollection getClasspath() { return classpath; }
@Classpath public FileCollection getClasspath() { return classpath; }
/** * Compile class path for the classes to be analyzed. The classes on this class path are used during analysis but * aren't analyzed themselves. * * @return compile class path for the classes to be analyze */ @Classpath public FileCollection getClasspath() { return classpath; }
@Classpath public ConfigurableFileCollection getClasspath() { return classpath; }
@Classpath public ConfigurableFileCollection getClasspath() { return classpath; }
@Classpath public ConfigurableFileCollection getClasspath() { return classpath; }
@Classpath public ConfigurableFileCollection getClasspath() { return classpath; }
/** * @return the classpath to use to load the Gosu compiler. */ @Override @Classpath @InputFiles public Closure<FileCollection> getGosuClasspath() { return _gosuClasspath; }
/** * <p>Returns the classpath to use to locate classes referenced by the documented source.</p> * * @return The classpath. */ @Classpath @InputFiles public FileCollection getClasspath() { return _classpath; }
/** * Returns the classpath to use to load the gosudoc tool. * @return the classpath to use to load the gosudoc tool. */ @Override @Classpath @InputFiles public Closure<FileCollection> getGosuClasspath() { return _gosuClasspath; }
@InputFiles @Classpath public final Provider<Configuration> getClasspath() { return classpath; }
@Classpath @InputFiles public Iterable<File> getClasspath() { return classpath; }
@InputFiles @Classpath public final Provider<Configuration> getClasspath() { return classpath; }
@Classpath @InputFiles @Optional public Iterable<File> getBuildClasspath() { return buildClasspath; }