org.gradle.api.tasks.Internal Java Examples

The following examples show how to use org.gradle.api.tasks.Internal. 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: QuarkusPlatformTask.java    From quarkus with Apache License 2.0 5 votes vote down vote up
@Internal
protected BuildFile getGradleBuildFile() {
    final Path projectDirPath = getProject().getProjectDir().toPath();
    final Path rootProjectPath = getProject().getParent() != null ? getProject().getRootProject().getProjectDir().toPath()
            : null;
    return new GradleBuildFileFromConnector(projectDirPath, platformDescriptor(),
            rootProjectPath);
}
 
Example #2
Source File: ParallelWheelGenerationTask.java    From pygradle with Apache License 2.0 5 votes vote down vote up
@Internal
public PythonExtension getExtension() {
    if (null == extension) {
        extension = getProject().getExtensions().getByType(PythonExtension.class);
    }
    return extension;
}
 
Example #3
Source File: ClojureScriptCompileOptions.java    From clojurephant with Apache License 2.0 5 votes vote down vote up
@Internal
public Object getSourceMap() {
  File sourceMap = sourceMapFile.getAsFile().getOrNull();
  if (sourceMap == null) {
    return sourceMapEnabled;
  } else {
    return sourceMap;
  }
}
 
Example #4
Source File: AbstractPythonMainSourceDefaultTask.java    From pygradle with Apache License 2.0 5 votes vote down vote up
@Internal
public PythonDetails getPythonDetails() {
    if (null == pythonDetails) {
        pythonDetails = getComponent().getDetails();
    }
    return pythonDetails;
}
 
Example #5
Source File: SassCompileTask.java    From GradleSassPlugin with Apache License 2.0 4 votes vote down vote up
@Internal
public String getOutSubDir() {
    return outSubDir;
}
 
Example #6
Source File: DescriptorGeneratorTask.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Override
@Internal
protected File getBaseDir() {
    return outputDirectory.dir("META-INF/maven").get().getAsFile();
}
 
Example #7
Source File: DescriptorGeneratorTask.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Override
@Internal
protected Generator getGenerator() {
    return new PluginDescriptorGenerator(new MavenLogWrapper(getLogger()));
}
 
Example #8
Source File: GitPublishReset.java    From gradle-git-publish with Apache License 2.0 4 votes vote down vote up
@Internal
public PatternFilterable getPreserve() {
  return preserve;
}
 
Example #9
Source File: AddCredentialsTask.java    From gradle-credentials-plugin with Apache License 2.0 4 votes vote down vote up
@Internal("Do not annotate as @Input to avoid the value being stored in the task artifact cache")
public String getCredentialsValue() {
    return value != null ? value : getProjectProperty(CredentialsPlugin.CREDENTIALS_VALUE_PROPERTY);
}
 
Example #10
Source File: AbstractJavaccTask.java    From javaccPlugin with MIT License 4 votes vote down vote up
@Internal
public Map<String, String> getArguments() {
    return programArguments;
}
 
Example #11
Source File: AbstractJavaccTask.java    From javaccPlugin with MIT License 4 votes vote down vote up
@Internal
protected Configuration getClasspath() {
    return classpath;
}
 
Example #12
Source File: Download.java    From gradle-download-task with Apache License 2.0 4 votes vote down vote up
@Internal // see #getOutputFiles()
@Override
public File getDest() {
    return action.getDest();
}
 
Example #13
Source File: Download.java    From gradle-download-task with Apache License 2.0 4 votes vote down vote up
@Internal
@Override
public File getDownloadTaskDir() {
    return action.getDownloadTaskDir();
}
 
Example #14
Source File: Download.java    From gradle-download-task with Apache License 2.0 4 votes vote down vote up
@Internal
@Override
public File getCachedETagsFile() {
    return action.getCachedETagsFile();
}
 
Example #15
Source File: SupportPortalDownload.java    From commerce-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal
public SSOCredentialsCache getCredentialsCache() {
    return credentialsCache;
}
 
Example #16
Source File: AddCredentialsTask.java    From gradle-credentials-plugin with Apache License 2.0 4 votes vote down vote up
@Internal("Do not annotate as @Input to avoid the key being stored in the task artifact cache")
public String getCredentialsKey() {
    return key != null ? key : getProjectProperty(CredentialsPlugin.CREDENTIALS_KEY_PROPERTY);
}
 
Example #17
Source File: ContractVerifierExtension.java    From spring-cloud-contract with Apache License 2.0 4 votes vote down vote up
@Internal
@Deprecated
public Property<Boolean> getCacheDownloadedContracts() {
	return cacheDownloadedContracts;
}
 
Example #18
Source File: StageAppYamlExtension.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal("covered by getExtraFilesDirectoriesAsInputFiles")
public List<File> getExtraFilesDirectories() {
  return extraFilesDirectories;
}
 
Example #19
Source File: ParallelWheelGenerationTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@Internal
public PythonDetails getPythonDetails() {
    return getExtension().getDetails();
}
 
Example #20
Source File: DescriptorGeneratorTask.java    From gradle-plugins with MIT License 4 votes vote down vote up
@Override
@Internal
protected File getBaseDir() {
    return outputDirectory.dir("META-INF/maven").get().getAsFile();
}
 
Example #21
Source File: SymbolicLinkPreservingUntarTask.java    From crate with Apache License 2.0 4 votes vote down vote up
@Internal
public Function<String, Path> getTransform() {
    return transform;
}
 
Example #22
Source File: AbstractPythonMainSourceDefaultTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@Internal
@Override
public String getReason() {
    return output;
}
 
Example #23
Source File: DownloadCloudSdkTask.java    From app-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@VisibleForTesting
@Internal
List<SdkComponent> getComponents() {
  return ImmutableList.copyOf(components);
}
 
Example #24
Source File: AbstractPythonMainSourceDefaultTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
/**
 * Use {@link AbstractPythonMainSourceDefaultTask#getPythonExtension()} instead.
 */
@Internal
@Deprecated
public PythonExtension getComponent() {
    return getPythonExtension();
}
 
Example #25
Source File: BuildPexTask.java    From pygradle with Apache License 2.0 4 votes vote down vote up
@Override
@Internal
public String getReason() {
    return container.getCommandOutput();
}
 
Example #26
Source File: EndpointsArtifactTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal
public String getOutputFileName() {
  return outputFileName;
}
 
Example #27
Source File: EndpointsArtifactTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal
public String getOutputBuildSystem() {
  return outputBuildSystem;
}
 
Example #28
Source File: EndpointsArtifactTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal
public String getOutputLanguage() {
  return outputLanguage;
}
 
Example #29
Source File: EndpointsArtifactTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal
public boolean isCleanBeforeRun() {
  return cleanBeforeRun;
}
 
Example #30
Source File: EndpointsArtifactTask.java    From endpoints-framework-gradle-plugin with Apache License 2.0 4 votes vote down vote up
@Internal
public String getCommand() {
  return command;
}