org.gradle.api.tasks.Input Java Examples

The following examples show how to use org.gradle.api.tasks.Input. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TwirlCompile.java    From playframework with Apache License 2.0 5 votes vote down vote up
/**
 * Returns the default imports that will be used when compiling templates.
 *
 * @return The imports that will be used.
 */
@Nullable
@Optional
@Input
public Property<TwirlImports> getDefaultImports() {
    return defaultImports;
}
 
Example #2
Source File: QuarkusDev.java    From quarkus with Apache License 2.0 5 votes vote down vote up
@Input
// @InputDirectory this breaks kotlin projects, the working dir at this stage will be evaluated to 'classes/java/main' instead of 'classes/kotlin/main'
public String getWorkingDir() {
    if (workingDir == null) {
        return extension().workingDir().toString();
    } else {
        return workingDir;
    }
}
 
Example #3
Source File: GenerateBuildDashboard.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
@Input
public Set<ReportState> getInputReports() {
    Set<ReportState> inputs = new HashSet<ReportState>();
    for (Report report : getEnabledInputReports()) {
        if (getReports().contains(report)) {
            // A report to be generated, ignore
            continue;
        }
        inputs.add(new ReportState(report.getDisplayName(), report.getDestination(), report.getDestination().exists()));
    }
    return inputs;
}
 
Example #4
Source File: GroovyCompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
/**
 * Tells whether the Java runtime should be put on the compile class path. Only takes effect if
 * {@code useAnt} is {@code true}. Defaults to {@code false}.
 *
 * @deprecated No replacement
 */
@Input
@Deprecated
public boolean isIncludeJavaRuntime() {
    DeprecationLogger.nagUserOfDiscontinuedProperty("GroovyCompileOptions.includeJavaRuntime", "There is no replacement for this property.");
    return includeJavaRuntime;
}
 
Example #5
Source File: TaskReportContainer.java    From pushfish-android with BSD 2-Clause "Simplified" License 5 votes vote down vote up
@Input
public SortedSet<String> getEnabledReportNames() {
    return CollectionUtils.collect(getEnabled(), new TreeSet<String>(), new Transformer<String, Report>() {
        public String transform(Report report) {
            return report.getName();
        }
    });        
}
 
Example #6
Source File: CompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Tells whether to include debugging information in the generated class files. Defaults
 * to {@code true}. See {@link DebugOptions#getDebugLevel()} for which debugging information will be generated.
 */
@Input
public boolean isDebug() {
    return debug;
}
 
Example #7
Source File: ApiInformationTask.java    From firebase-android-sdk with Apache License 2.0 4 votes vote down vote up
@Input
abstract String getMetalavaJarPath();
 
Example #8
Source File: ModelMapGenTask.java    From doov with Apache License 2.0 4 votes vote down vote up
@Input
public Property<String> getPackageFilter() {
    return packageFilter;
}
 
Example #9
Source File: CompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the bootstrap classpath to be used for the compiler process.
 * Only takes effect if {@code fork} is {@code true}. Defaults to {@code null}.
 */
@Input
@Optional
public String getBootClasspath() {
    return bootClasspath;
}
 
Example #10
Source File: CompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the character encoding to be used when reading source files. Defaults to {@code null}, in which
 * case the platform default encoding will be used.
 */
@Input
@Optional
public String getEncoding() {
    return encoding;
}
 
Example #11
Source File: ShadeTask.java    From transport with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input
public Set<String> getExcludedDependencies() {
  return _excludedDependencies;
}
 
Example #12
Source File: GenerateStubsTask.java    From firebase-android-sdk with Apache License 2.0 4 votes vote down vote up
@Input
public abstract String getMetalavaJarPath();
 
Example #13
Source File: ShadeTask.java    From transport with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input
public List<String> getDoNotShade() {
  return _doNotShade;
}
 
Example #14
Source File: CompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns any additional arguments to be passed to the compiler.
 * Defaults to the empty list.
 */
@Input
public List<String> getCompilerArgs() {
    return compilerArgs;
}
 
Example #15
Source File: ReproduceTask.java    From skara with GNU General Public License v2.0 4 votes vote down vote up
@Input
public String getDockerfile() {
    return dockerfile;
}
 
Example #16
Source File: CompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Tells whether to fail the build when compilation fails. Defaults to {@code true}.
 */
@Input
public boolean isFailOnError() {
    return failOnError;
}
 
Example #17
Source File: CompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Returns the extension dirs to be used for the compiler process.
 * Only takes effect if {@code fork} is {@code true}. Defaults to {@code null}.
 */
@Input 
@Optional
public String getExtensionDirs() {
    return extensionDirs;
}
 
Example #18
Source File: ModelMapGenTask.java    From doov with Apache License 2.0 4 votes vote down vote up
@Input
@Optional
public Property<String> getTypeAdaptersProperty() {
    return typeAdaptersProperty;
}
 
Example #19
Source File: ScalaCompileOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
/**
 * Run optimizations.
 */
@Input
public boolean isOptimize() {
    return optimize;
}
 
Example #20
Source File: InputPropertyAnnotationHandler.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
public Class<? extends Annotation> getAnnotationType() {
    return Input.class;
}
 
Example #21
Source File: GoogleServicesTask.java    From play-services-plugins with Apache License 2.0 4 votes vote down vote up
@Input @Optional
public TextResource getPackageNameXOR2() {
  return packageNameXOR2;
}
 
Example #22
Source File: DesugarTask.java    From javafxmobile-plugin with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Input
public int getMinSdk() {
    return minSdk;
}
 
Example #23
Source File: ModelMapGenTask.java    From doov with Apache License 2.0 4 votes vote down vote up
@Input
@Optional
public Property<String> getFieldInfoTypesProperty() {
    return fieldInfoTypesProperty;
}
 
Example #24
Source File: MinimalJavadocOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input @Optional
String getEncoding();
 
Example #25
Source File: MinimalJavadocOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input @Optional
String getLocale();
 
Example #26
Source File: MinimalJavadocOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input @Optional
String getSource();
 
Example #27
Source File: MinimalJavadocOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input @Optional
String getDoclet();
 
Example #28
Source File: ModelMapGenTask.java    From doov with Apache License 2.0 4 votes vote down vote up
@Input
public Property<String> getFieldClassProperty() {
    return fieldClassProperty;
}
 
Example #29
Source File: MinimalJavadocOptions.java    From pushfish-android with BSD 2-Clause "Simplified" License 4 votes vote down vote up
@Input @Optional
String getOverview();
 
Example #30
Source File: ModelMapGenTask.java    From doov with Apache License 2.0 4 votes vote down vote up
@Input
@Optional
public Property<String> getDslModelPackage() {
    return dslModelPackage;
}