Java 类org.gradle.api.tasks.Classpath 实例源码

项目:gradle-project-config    文件:EclipseAnnotationsTask.java   
/**
 * Get the URLs for the classpath during annotation processing
 *
 * @return Classpath URLs
 */
@Input
@Classpath
protected Set<URL> getClasspathUrls() {
    Configuration compileConfiguration = getProject().getConfigurations()
            .getByName(EclipseConfigPlugin.ECLIPSE_ANNOTATIONS_CONFIGURATION);

    getLogger().info("Using classpath '{}'", compileConfiguration.getAsPath());

    Set<URL> urls = compileConfiguration.getFiles().stream().map(f -> {
        try {
            return f.toURI().toURL();
        }
        catch (MalformedURLException e) {
            throw new GradleException(
                    String.format("Could not create classpath for annotations task %s.", getName()), e);
        }
    }).collect(Collectors.toSet());

    return ImmutableSet.copyOf(urls);
}
项目:event-impl-gen    文件:EventImplGenTask.java   
@Override
@CompileClasspath // Gradle 3.4+
@Classpath // Gradle 3.2+
@InputFiles
public FileCollection getClasspath() {
    return super.getClasspath();
}
项目:Reer    文件:Pmd.java   
/**
 * The class path containing the PMD library to be used.
 */
@Classpath
public FileCollection getPmdClasspath() {
    return pmdClasspath;
}
项目:Reer    文件:JDepend.java   
/**
 * The class path containing the JDepend library to be used.
 */
@Classpath
public FileCollection getJdependClasspath() {
    return jdependClasspath;
}
项目:Reer    文件:FindBugs.java   
/**
 * Compile class path for the classes to be analyzed. The classes on this class path are used during analysis but aren't analyzed themselves.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:FindBugs.java   
/**
 * Class path holding the FindBugs library.
 */
@Classpath
public FileCollection getFindbugsClasspath() {
    return findbugsClasspath;
}
项目:Reer    文件:FindBugs.java   
/**
 * Class path holding any additional FindBugs plugins.
 */
@Classpath
public FileCollection getPluginClasspath() {
    return pluginClasspath;
}
项目:Reer    文件:CodeNarc.java   
/**
 * The class path containing the CodeNarc library to be used.
 */
@Classpath
public FileCollection getCodenarcClasspath() {
    return codenarcClasspath;
}
项目:Reer    文件:Checkstyle.java   
/**
 * The class path containing the Checkstyle library to be used.
 */
@Classpath
public FileCollection getCheckstyleClasspath() {
    return checkstyleClasspath;
}
项目:Reer    文件:Checkstyle.java   
/**
 * The class path containing the compiled classes for the source files to be analyzed.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:JsHint.java   
@Classpath
public FileCollection getRhinoClasspath() {
    return getProject().files(rhinoClasspath);
}
项目:Reer    文件:CoffeeScriptCompile.java   
@Classpath
public FileCollection getRhinoClasspath() {
    return getProject().files(rhinoClasspath);
}
项目:Reer    文件:ScalaCompile.java   
/**
 * Returns the classpath to use to load the Scala compiler.
 */
@Classpath
public FileCollection getScalaClasspath() {
    return scalaClasspath;
}
项目:Reer    文件:ScalaCompile.java   
/**
 * Returns the classpath to use to load the Zinc incremental compiler. This compiler in turn loads the Scala compiler.
 */
@Classpath
public FileCollection getZincClasspath() {
    return zincClasspath;
}
项目:Reer    文件:ScalaDoc.java   
/**
 * Returns the classpath to use to load the ScalaDoc tool.
 */
@Classpath
public FileCollection getScalaClasspath() {
    return scalaClasspath;
}
项目:Reer    文件:PackageListGenerator.java   
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:JacocoBase.java   
/**
 * Classpath containing Jacoco classes for use by the task.
 */
@Classpath
public FileCollection getJacocoClasspath() {
    return jacocoClasspath;
}
项目:Reer    文件:MinimalJavadocOptions.java   
@Classpath
List<File> getDocletpath();
项目:Reer    文件:MinimalJavadocOptions.java   
@Classpath
List<File> getBootClasspath();
项目:Reer    文件:ValidateTaskProperties.java   
/**
 * The classpath used to load the classes under validation.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:PluginUnderTestMetadata.java   
/**
 * The code under test. Defaults to {@code sourceSets.main.runtimeClasspath}.
 */
@Classpath
public FileCollection getPluginClasspath() {
    return pluginClasspath;
}
项目:Reer    文件:AbstractJettyRunTask.java   
/**
 * Returns the classpath to make available to the web application.
 */
@Classpath
public Iterable<File> getAdditionalRuntimeJars() {
    return additionalRuntimeJars;
}
项目:Reer    文件:JettyRun.java   
/**
 * Returns the classpath for the web application.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:Test.java   
/**
 * Returns the classpath to use to execute the tests.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:ClasspathPropertyAnnotationHandler.java   
@Override
public Class<? extends Annotation> getAnnotationType() {
    return Classpath.class;
}
项目:Reer    文件:CreateStartScripts.java   
/**
 * The class path for the application.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:gradle-clojure    文件:ClojureExec.java   
@Classpath
public FileCollection getClasspath() {
  return classpath;
}
项目:gradle-clojure    文件:ClojureNRepl.java   
@Classpath
public FileCollection getClasspath() {
  return classpath;
}
项目:Reer    文件:Pmd.java   
/**
 * Compile class path for the classes to be analyzed.
 *
 * The classes on this class path are used during analysis but aren't analyzed themselves.
 *
 * This is only well supported for PMD 5.2.1 or better.
 */
@Classpath
@Optional
@Incubating
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:AntlrTask.java   
/**
 * Returns the classpath containing the Ant ANTLR task implementation.
 *
 * @return The Ant task implementation classpath.
 */
@Classpath
public FileCollection getAntlrClasspath() {
    return antlrClasspath;
}
项目:Reer    文件:ScalaDoc.java   
/**
 * <p>Returns the classpath to use to locate classes referenced by the documented source.</p>
 *
 * @return The classpath.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:GroovyCompile.java   
/**
 * Returns the classpath containing the version of Groovy to use for compilation.
 *
 * @return The classpath.
 */
@Classpath
public FileCollection getGroovyClasspath() {
    return groovyClasspath;
}
项目:Reer    文件:Groovydoc.java   
/**
 * Returns the classpath containing the Groovy library to be used.
 *
 * @return The classpath containing the Groovy library to be used
 */
@Classpath
public FileCollection getGroovyClasspath() {
    return groovyClasspath;
}
项目:Reer    文件:Groovydoc.java   
/**
 * Returns the classpath used to locate classes referenced by the documented sources.
 *
 * @return The classpath used to locate classes referenced by the documented sources
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:AbstractCompile.java   
/**
 * Returns the classpath to use to compile the source files.
 *
 * @return The classpath.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:Javadoc.java   
/**
 * Returns the classpath to use to resolve type references in the source code.
 *
 * @return The classpath.
 */
@Classpath
public FileCollection getClasspath() {
    return classpath;
}
项目:Reer    文件:JavaForkOptions.java   
/**
 * Returns the bootstrap classpath to use for the process. The default bootstrap classpath for the JVM is used when
 * this classpath is empty.
 *
 * @return The bootstrap classpath. Never returns null.
 */
@Classpath
FileCollection getBootstrapClasspath();
项目:Reer    文件:JavaExecSpec.java   
/**
 * Returns the classpath for executing the main class.
 */
@Classpath
FileCollection getClasspath();
项目:Reer    文件:War.java   
/**
 * Returns the classpath to include in the WAR archive. Any JAR or ZIP files in this classpath are included in the {@code WEB-INF/lib} directory. Any directories in this classpath are included in
 * the {@code WEB-INF/classes} directory.
 *
 * @return The classpath. Returns an empty collection when there is no classpath to include in the WAR.
 */
@Optional
@Classpath
public FileCollection getClasspath() {
    return classpath;
}