/usr/share/doc/gradle/dsl/index.html is in gradle-doc 3.4.1-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Gradle DSL Version 3.4.1</title><link type="text/css" rel="stylesheet" href="base.css"><link type="text/css" rel="stylesheet" href="docs.css"><link type="text/css" rel="stylesheet" href="dsl.css"><meta content="DocBook XSL Stylesheets V1.79.1" name="generator"><link rel="home" href="index.html" title="Gradle DSL Version 3.4.1"><link rel="next" href="org.gradle.api.plugins.ExtensionAware.html" title="ExtensionAware - Gradle DSL Version 3.4.1"></head><body><div class="sidebar"><ul><li class="sidebarHeading selected">
Home
</li><ul class="sections"><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N1000C" title="Introduction">Introduction</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N10011" title="Some basics">Some basics</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N10060" title="Build script structure">Build script structure</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N100CA" title="Core types">Core types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N1029B" title="Container types">Container types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N102E1" title="Help Task types">Help Task types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N10347" title="Task types">Task types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N10515" title="Reporting types">Reporting types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N10571" title="Eclipse/IDEA model types">Eclipse/IDEA model types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N105FA" title="Eclipse/IDEA task types">Eclipse/IDEA task types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N10657" title="Native software model types">Native software model types</a></li><li><a xmlns:xslthl="http://xslthl.sf.net" href="index.html#N107E8" title="Native binary task types">Native binary task types</a></li></ul><li class="sidebarHeading">Build script blocks</li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:allprojects(groovy.lang.Closure)"><code class="literal">allprojects { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:artifacts(groovy.lang.Closure)"><code class="literal">artifacts { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:buildscript(groovy.lang.Closure)"><code class="literal">buildscript { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:configurations(groovy.lang.Closure)"><code class="literal">configurations { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:dependencies(groovy.lang.Closure)"><code class="literal">dependencies { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:repositories(groovy.lang.Closure)"><code class="literal">repositories { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:sourceSets(groovy.lang.Closure)"><code class="literal">sourceSets { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:subprojects(groovy.lang.Closure)"><code class="literal">subprojects { }</code></a></li><li><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:publishing(groovy.lang.Closure)"><code class="literal">publishing { }</code></a></li><li class="sidebarHeading">Core types</li><li><a class="link" href="org.gradle.api.Project.html"><code class="literal">Project</code></a></li><li><a class="link" href="org.gradle.api.Task.html"><code class="literal">Task</code></a></li><li><a class="link" href="org.gradle.api.invocation.Gradle.html"><code class="literal">Gradle</code></a></li><li><a class="link" href="org.gradle.api.initialization.Settings.html"><code class="literal">Settings</code></a></li><li><a class="link" href="org.gradle.api.initialization.IncludedBuild.html"><code class="literal">IncludedBuild</code></a></li><li><a class="link" href="org.gradle.api.Script.html"><code class="literal">Script</code></a></li><li><a class="link" href="org.gradle.jvm.toolchain.JavaToolChain.html"><code class="literal">JavaToolChain</code></a></li><li><a class="link" href="org.gradle.api.tasks.SourceSet.html"><code class="literal">SourceSet</code></a></li><li><a class="link" href="org.gradle.api.tasks.SourceSetOutput.html"><code class="literal">SourceSetOutput</code></a></li><li><a class="link" href="org.gradle.api.tasks.incremental.IncrementalTaskInputs.html"><code class="literal">IncrementalTaskInputs</code></a></li><li><a class="link" href="org.gradle.api.artifacts.Configuration.html"><code class="literal">Configuration</code></a></li><li><a class="link" href="org.gradle.api.artifacts.ResolutionStrategy.html"><code class="literal">ResolutionStrategy</code></a></li><li><a class="link" href="org.gradle.api.artifacts.query.ArtifactResolutionQuery.html"><code class="literal">ArtifactResolutionQuery</code></a></li><li><a class="link" href="org.gradle.api.artifacts.ComponentSelection.html"><code class="literal">ComponentSelection</code></a></li><li><a class="link" href="org.gradle.api.artifacts.ComponentSelectionRules.html"><code class="literal">ComponentSelectionRules</code></a></li><li><a class="link" href="org.gradle.api.dsl.ConventionProperty.html"><code class="literal">ConventionProperty</code></a></li><li><a class="link" href="org.gradle.plugin.repository.GradlePluginPortal.html"><code class="literal">GradlePluginPortal</code></a></li><li><a class="link" href="org.gradle.api.plugins.ExtensionAware.html"><code class="literal">ExtensionAware</code></a></li><li><a class="link" href="org.gradle.api.plugins.ExtraPropertiesExtension.html"><code class="literal">ExtraPropertiesExtension</code></a></li><li><a class="link" href="org.gradle.api.publish.PublishingExtension.html"><code class="literal">PublishingExtension</code></a></li><li><a class="link" href="org.gradle.api.publish.ivy.IvyPublication.html"><code class="literal">IvyPublication</code></a></li><li><a class="link" href="org.gradle.api.publish.ivy.IvyArtifact.html"><code class="literal">IvyArtifact</code></a></li><li><a class="link" href="org.gradle.api.publish.ivy.IvyArtifactSet.html"><code class="literal">IvyArtifactSet</code></a></li><li><a class="link" href="org.gradle.api.publish.ivy.IvyModuleDescriptorSpec.html"><code class="literal">IvyModuleDescriptorSpec</code></a></li><li><a class="link" href="org.gradle.plugin.repository.IvyPluginRepository.html"><code class="literal">IvyPluginRepository</code></a></li><li><a class="link" href="org.gradle.api.publish.maven.MavenPublication.html"><code class="literal">MavenPublication</code></a></li><li><a class="link" href="org.gradle.api.publish.maven.MavenArtifact.html"><code class="literal">MavenArtifact</code></a></li><li><a class="link" href="org.gradle.api.publish.maven.MavenArtifactSet.html"><code class="literal">MavenArtifactSet</code></a></li><li><a class="link" href="org.gradle.api.publish.maven.MavenPom.html"><code class="literal">MavenPom</code></a></li><li><a class="link" href="org.gradle.plugin.repository.MavenPluginRepository.html"><code class="literal">MavenPluginRepository</code></a></li><li><a class="link" href="org.gradle.plugin.use.PluginDependenciesSpec.html"><code class="literal">PluginDependenciesSpec</code></a></li><li><a class="link" href="org.gradle.plugin.use.PluginDependencySpec.html"><code class="literal">PluginDependencySpec</code></a></li><li><a class="link" href="org.gradle.plugin.repository.PluginRepositoriesSpec.html"><code class="literal">PluginRepositoriesSpec</code></a></li><li><a class="link" href="org.gradle.plugin.repository.PluginRepository.html"><code class="literal">PluginRepository</code></a></li><li><a class="link" href="org.gradle.api.resources.ResourceHandler.html"><code class="literal">ResourceHandler</code></a></li><li><a class="link" href="org.gradle.api.resources.TextResourceFactory.html"><code class="literal">TextResourceFactory</code></a></li><li class="sidebarHeading">Container types</li><li><a class="link" href="org.gradle.api.artifacts.ConfigurationContainer.html"><code class="literal">ConfigurationContainer</code></a></li><li><a class="link" href="org.gradle.api.artifacts.dsl.RepositoryHandler.html"><code class="literal">RepositoryHandler</code></a></li><li><a class="link" href="org.gradle.api.artifacts.dsl.DependencyHandler.html"><code class="literal">DependencyHandler</code></a></li><li><a class="link" href="org.gradle.api.artifacts.dsl.ArtifactHandler.html"><code class="literal">ArtifactHandler</code></a></li><li class="sidebarHeading">Help Task types</li><li><a class="link" href="org.gradle.api.tasks.diagnostics.TaskReportTask.html"><code class="literal">TaskReportTask</code></a></li><li><a class="link" href="org.gradle.api.tasks.diagnostics.ProjectReportTask.html"><code class="literal">ProjectReportTask</code></a></li><li><a class="link" href="org.gradle.api.tasks.diagnostics.DependencyReportTask.html"><code class="literal">DependencyReportTask</code></a></li><li><a class="link" href="org.gradle.api.tasks.diagnostics.DependencyInsightReportTask.html"><code class="literal">DependencyInsightReportTask</code></a></li><li><a class="link" href="org.gradle.api.tasks.diagnostics.PropertyReportTask.html"><code class="literal">PropertyReportTask</code></a></li><li><a class="link" href="org.gradle.api.reporting.components.ComponentReport.html"><code class="literal">ComponentReport</code></a></li><li><a class="link" href="org.gradle.api.reporting.dependents.DependentComponentsReport.html"><code class="literal">DependentComponentsReport</code></a></li><li><a class="link" href="org.gradle.api.reporting.model.ModelReport.html"><code class="literal">ModelReport</code></a></li><li class="sidebarHeading">Task types</li><li><a class="link" href="org.gradle.api.plugins.antlr.AntlrTask.html"><code class="literal">AntlrTask</code></a></li><li><a class="link" href="org.gradle.api.tasks.diagnostics.BuildEnvironmentReportTask.html"><code class="literal">BuildEnvironmentReportTask</code></a></li><li><a class="link" href="org.gradle.api.plugins.quality.Checkstyle.html"><code class="literal">Checkstyle</code></a></li><li><a class="link" href="org.gradle.api.plugins.quality.CodeNarc.html"><code class="literal">CodeNarc</code></a></li><li><a class="link" href="org.gradle.api.plugins.buildcomparison.gradle.CompareGradleBuilds.html"><code class="literal">CompareGradleBuilds</code></a></li><li><a class="link" href="org.gradle.api.tasks.Copy.html"><code class="literal">Copy</code></a></li><li><a class="link" href="org.gradle.jvm.application.tasks.CreateStartScripts.html"><code class="literal">CreateStartScripts</code></a></li><li><a class="link" href="org.gradle.api.tasks.Delete.html"><code class="literal">Delete</code></a></li><li><a class="link" href="org.gradle.plugins.ear.Ear.html"><code class="literal">Ear</code></a></li><li><a class="link" href="org.gradle.api.tasks.Exec.html"><code class="literal">Exec</code></a></li><li><a class="link" href="org.gradle.api.plugins.quality.FindBugs.html"><code class="literal">FindBugs</code></a></li><li><a class="link" href="org.gradle.api.publish.ivy.tasks.GenerateIvyDescriptor.html"><code class="literal">GenerateIvyDescriptor</code></a></li><li><a class="link" href="org.gradle.api.publish.maven.tasks.GenerateMavenPom.html"><code class="literal">GenerateMavenPom</code></a></li><li><a class="link" href="org.gradle.api.reporting.GenerateBuildDashboard.html"><code class="literal">GenerateBuildDashboard</code></a></li><li><a class="link" href="org.gradle.api.tasks.GradleBuild.html"><code class="literal">GradleBuild</code></a></li><li><a class="link" href="org.gradle.api.tasks.compile.GroovyCompile.html"><code class="literal">GroovyCompile</code></a></li><li><a class="link" href="org.gradle.api.tasks.javadoc.Groovydoc.html"><code class="literal">Groovydoc</code></a></li><li><a class="link" href="org.gradle.api.reporting.dependencies.HtmlDependencyReportTask.html"><code class="literal">HtmlDependencyReportTask</code></a></li><li><a class="link" href="org.gradle.testing.jacoco.tasks.JacocoReport.html"><code class="literal">JacocoReport</code></a></li><li><a class="link" href="org.gradle.testing.jacoco.tasks.JacocoMerge.html"><code class="literal">JacocoMerge</code></a></li><li><a class="link" href="org.gradle.testing.jacoco.tasks.JacocoCoverageVerification.html"><code class="literal">JacocoCoverageVerification</code></a></li><li><a class="link" href="org.gradle.api.tasks.bundling.Jar.html"><code class="literal">Jar</code></a></li><li><a class="link" href="org.gradle.api.tasks.compile.JavaCompile.html"><code class="literal">JavaCompile</code></a></li><li><a class="link" href="org.gradle.api.tasks.javadoc.Javadoc.html"><code class="literal">Javadoc</code></a></li><li><a class="link" href="org.gradle.api.tasks.JavaExec.html"><code class="literal">JavaExec</code></a></li><li><a class="link" href="org.gradle.api.plugins.quality.JDepend.html"><code class="literal">JDepend</code></a></li><li><a class="link" href="org.gradle.api.plugins.jetty.JettyRun.html"><code class="literal">JettyRun</code></a></li><li><a class="link" href="org.gradle.api.plugins.jetty.JettyRunWar.html"><code class="literal">JettyRunWar</code></a></li><li><a class="link" href="org.gradle.api.plugins.jetty.JettyStop.html"><code class="literal">JettyStop</code></a></li><li><a class="link" href="org.gradle.api.plugins.quality.Pmd.html"><code class="literal">Pmd</code></a></li><li><a class="link" href="org.gradle.api.publish.ivy.tasks.PublishToIvyRepository.html"><code class="literal">PublishToIvyRepository</code></a></li><li><a class="link" href="org.gradle.api.publish.maven.tasks.PublishToMavenRepository.html"><code class="literal">PublishToMavenRepository</code></a></li><li><a class="link" href="org.gradle.api.tasks.scala.ScalaCompile.html"><code class="literal">ScalaCompile</code></a></li><li><a class="link" href="org.gradle.api.tasks.scala.ScalaDoc.html"><code class="literal">ScalaDoc</code></a></li><li><a class="link" href="org.gradle.buildinit.tasks.InitBuild.html"><code class="literal">InitBuild</code></a></li><li><a class="link" href="org.gradle.plugins.signing.Sign.html"><code class="literal">Sign</code></a></li><li><a class="link" href="org.gradle.api.tasks.Sync.html"><code class="literal">Sync</code></a></li><li><a class="link" href="org.gradle.api.tasks.bundling.Tar.html"><code class="literal">Tar</code></a></li><li><a class="link" href="org.gradle.api.tasks.testing.Test.html"><code class="literal">Test</code></a></li><li><a class="link" href="org.gradle.api.tasks.testing.TestReport.html"><code class="literal">TestReport</code></a></li><li><a class="link" href="org.gradle.api.tasks.Upload.html"><code class="literal">Upload</code></a></li><li><a class="link" href="org.gradle.api.tasks.bundling.War.html"><code class="literal">War</code></a></li><li><a class="link" href="org.gradle.api.tasks.wrapper.Wrapper.html"><code class="literal">Wrapper</code></a></li><li><a class="link" href="org.gradle.api.tasks.WriteProperties.html"><code class="literal">WriteProperties</code></a></li><li><a class="link" href="org.gradle.api.tasks.bundling.Zip.html"><code class="literal">Zip</code></a></li><li class="sidebarHeading">Reporting types</li><li><a class="link" href="org.gradle.api.reporting.CustomizableHtmlReport.html"><code class="literal">CustomizableHtmlReport</code></a></li><li><a class="link" href="org.gradle.api.reporting.SingleFileReport.html"><code class="literal">SingleFileReport</code></a></li><li><a class="link" href="org.gradle.api.reporting.DirectoryReport.html"><code class="literal">DirectoryReport</code></a></li><li><a class="link" href="org.gradle.api.plugins.quality.FindBugsXmlReport.html"><code class="literal">FindBugsXmlReport</code></a></li><li><a class="link" href="org.gradle.api.reporting.Report.html"><code class="literal">Report</code></a></li><li><a class="link" href="org.gradle.api.reporting.Reporting.html"><code class="literal">Reporting</code></a></li><li><a class="link" href="org.gradle.api.reporting.ReportContainer.html"><code class="literal">ReportContainer</code></a></li><li><a class="link" href="org.gradle.api.reporting.ReportingExtension.html"><code class="literal">ReportingExtension</code></a></li><li class="sidebarHeading">Eclipse/IDEA model types</li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseModel.html"><code class="literal">EclipseModel</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseProject.html"><code class="literal">EclipseProject</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseClasspath.html"><code class="literal">EclipseClasspath</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseJdt.html"><code class="literal">EclipseJdt</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseWtp.html"><code class="literal">EclipseWtp</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseWtpComponent.html"><code class="literal">EclipseWtpComponent</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseWtpFacet.html"><code class="literal">EclipseWtpFacet</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaModel.html"><code class="literal">IdeaModel</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaProject.html"><code class="literal">IdeaProject</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaModule.html"><code class="literal">IdeaModule</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaWorkspace.html"><code class="literal">IdeaWorkspace</code></a></li><li><a class="link" href="org.gradle.plugins.ide.api.XmlFileContentMerger.html"><code class="literal">XmlFileContentMerger</code></a></li><li><a class="link" href="org.gradle.plugins.ide.api.FileContentMerger.html"><code class="literal">FileContentMerger</code></a></li><li class="sidebarHeading">Eclipse/IDEA task types</li><li><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseProject.html"><code class="literal">GenerateEclipseProject</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseClasspath.html"><code class="literal">GenerateEclipseClasspath</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseJdt.html"><code class="literal">GenerateEclipseJdt</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseWtpComponent.html"><code class="literal">GenerateEclipseWtpComponent</code></a></li><li><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseWtpFacet.html"><code class="literal">GenerateEclipseWtpFacet</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.GenerateIdeaModule.html"><code class="literal">GenerateIdeaModule</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.GenerateIdeaProject.html"><code class="literal">GenerateIdeaProject</code></a></li><li><a class="link" href="org.gradle.plugins.ide.idea.GenerateIdeaWorkspace.html"><code class="literal">GenerateIdeaWorkspace</code></a></li><li class="sidebarHeading">Native software types</li><li><a class="link" href="org.gradle.nativeplatform.PrebuiltLibrary.html"><code class="literal">PrebuiltLibrary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.PrebuiltSharedLibraryBinary.html"><code class="literal">PrebuiltSharedLibraryBinary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.PrebuiltStaticLibraryBinary.html"><code class="literal">PrebuiltStaticLibraryBinary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeComponentSpec.html"><code class="literal">NativeComponentSpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeExecutableSpec.html"><code class="literal">NativeExecutableSpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeLibrarySpec.html"><code class="literal">NativeLibrarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.NativeTestSuiteSpec.html"><code class="literal">NativeTestSuiteSpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.cunit.CUnitTestSuiteSpec.html"><code class="literal">CUnitTestSuiteSpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.googletest.GoogleTestTestSuiteSpec.html"><code class="literal">GoogleTestTestSuiteSpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeBinarySpec.html"><code class="literal">NativeBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeExecutableBinarySpec.html"><code class="literal">NativeExecutableBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeLibraryBinarySpec.html"><code class="literal">NativeLibraryBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.SharedLibraryBinarySpec.html"><code class="literal">SharedLibraryBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.StaticLibraryBinarySpec.html"><code class="literal">StaticLibraryBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.NativeTestSuiteBinarySpec.html"><code class="literal">NativeTestSuiteBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.cunit.CUnitTestSuiteBinarySpec.html"><code class="literal">CUnitTestSuiteBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.googletest.GoogleTestTestSuiteBinarySpec.html"><code class="literal">GoogleTestTestSuiteBinarySpec</code></a></li><li><a class="link" href="org.gradle.nativeplatform.platform.NativePlatform.html"><code class="literal">NativePlatform</code></a></li><li><a class="link" href="org.gradle.nativeplatform.BuildType.html"><code class="literal">BuildType</code></a></li><li><a class="link" href="org.gradle.nativeplatform.Flavor.html"><code class="literal">Flavor</code></a></li><li><a class="link" href="org.gradle.nativeplatform.toolchain.Gcc.html"><code class="literal">Gcc</code></a></li><li><a class="link" href="org.gradle.nativeplatform.toolchain.Clang.html"><code class="literal">Clang</code></a></li><li><a class="link" href="org.gradle.nativeplatform.toolchain.VisualCpp.html"><code class="literal">VisualCpp</code></a></li><li><a class="link" href="org.gradle.language.assembler.AssemblerSourceSet.html"><code class="literal">AssemblerSourceSet</code></a></li><li><a class="link" href="org.gradle.language.c.CSourceSet.html"><code class="literal">CSourceSet</code></a></li><li><a class="link" href="org.gradle.language.cpp.CppSourceSet.html"><code class="literal">CppSourceSet</code></a></li><li><a class="link" href="org.gradle.language.objectivec.ObjectiveCSourceSet.html"><code class="literal">ObjectiveCSourceSet</code></a></li><li><a class="link" href="org.gradle.language.objectivecpp.ObjectiveCppSourceSet.html"><code class="literal">ObjectiveCppSourceSet</code></a></li><li><a class="link" href="org.gradle.language.rc.WindowsResourceSet.html"><code class="literal">WindowsResourceSet</code></a></li><li><a class="link" href="org.gradle.ide.visualstudio.VisualStudioProject.html"><code class="literal">VisualStudioProject</code></a></li><li><a class="link" href="org.gradle.ide.visualstudio.VisualStudioSolution.html"><code class="literal">VisualStudioSolution</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeExecutable.html"><code class="literal">NativeExecutable</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeLibrary.html"><code class="literal">NativeLibrary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeBinary.html"><code class="literal">NativeBinary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.NativeExecutableBinary.html"><code class="literal">NativeExecutableBinary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.SharedLibraryBinary.html"><code class="literal">SharedLibraryBinary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.StaticLibraryBinary.html"><code class="literal">StaticLibraryBinary</code></a></li><li class="sidebarHeading">Native component task types</li><li><a class="link" href="org.gradle.language.cpp.tasks.CppCompile.html"><code class="literal">CppCompile</code></a></li><li><a class="link" href="org.gradle.language.c.tasks.CCompile.html"><code class="literal">CCompile</code></a></li><li><a class="link" href="org.gradle.language.assembler.tasks.Assemble.html"><code class="literal">Assemble</code></a></li><li><a class="link" href="org.gradle.language.objectivec.tasks.ObjectiveCCompile.html"><code class="literal">ObjectiveCCompile</code></a></li><li><a class="link" href="org.gradle.language.objectivecpp.tasks.ObjectiveCppCompile.html"><code class="literal">ObjectiveCppCompile</code></a></li><li><a class="link" href="org.gradle.language.rc.tasks.WindowsResourceCompile.html"><code class="literal">WindowsResourceCompile</code></a></li><li><a class="link" href="org.gradle.nativeplatform.tasks.LinkExecutable.html"><code class="literal">LinkExecutable</code></a></li><li><a class="link" href="org.gradle.nativeplatform.tasks.LinkSharedLibrary.html"><code class="literal">LinkSharedLibrary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.tasks.CreateStaticLibrary.html"><code class="literal">CreateStaticLibrary</code></a></li><li><a class="link" href="org.gradle.nativeplatform.tasks.InstallExecutable.html"><code class="literal">InstallExecutable</code></a></li><li><a class="link" href="org.gradle.nativeplatform.test.tasks.RunTestExecutable.html"><code class="literal">RunTestExecutable</code></a></li></ul></div><div class="content"><div class="book"><div xmlns:xslthl="http://xslthl.sf.net" class="titlepage"><div class="title"><div><h1 class="title"><a name="dsl"></a>Gradle Build Language Reference</h1></div><div><h3 class="releaseinfo">Version 3.4.1</h3></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N1000C" class="section-anchor" href="#N1000C"></a>Introduction</h2></div></div></div><p>This reference guide describes the various types which make up the Gradle build language, or DSL.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N10011" class="section-anchor" href="#N10011"></a>Some basics</h2></div></div></div><p>There are a few basic concepts that you should understand, which will help you write Gradle scripts.</p><p>First, Gradle scripts are <em class="firstterm">configuration scripts</em>. As the script executes, it
configures an object of a particular type. For example, as a build script executes, it configures an
object of type <a class="ulink" href="./org.gradle.api.Project.html" target="_top"><code class="classname">Project</code></a>. This object is called the <em class="firstterm">delegate object</em>
of the script. The following table shows the delegate for each type of Gradle script.
</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table id="N10023"><thead><tr>
<td>Type of script</td>
<td>Delegates to instance of</td>
</tr></thead><tr>
<td>Build script</td>
<td>
<a class="ulink" href="./org.gradle.api.Project.html" target="_top"><code class="classname">Project</code></a>
</td>
</tr><tr>
<td>Init script</td>
<td>
<a class="ulink" href="./org.gradle.api.invocation.Gradle.html" target="_top"><code class="classname">Gradle</code></a>
</td>
</tr><tr>
<td>Settings script</td>
<td>
<a class="ulink" href="./org.gradle.api.initialization.Settings.html" target="_top"><code class="classname">Settings</code></a>
</td>
</tr></table></div></div><p>The properties and methods of the delegate object are available for you to use in the script.</p><p>Second, each Gradle script implements the <a class="ulink" href="./org.gradle.api.Script.html" target="_top"><code class="classname">Script</code></a> interface. This
interface defines a number of properties and methods which you can use in the script.
</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N10060" class="section-anchor" href="#N10060"></a>Build script structure</h2></div></div></div><p>A build script is made up of zero or more statements and script blocks. Statements can include method calls,
property assignments, and local variable definitions. A script block is a method call which takes a closure
as a parameter. The closure is treated as a <em class="firstterm">configuration closure</em> which configures
some delegate object as it executes. The top level script blocks are listed below.</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N10068"><thead><tr><td>Block</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:allprojects(groovy.lang.Closure)"><code class="literal">allprojects { }</code></a></td><td><p>Configures this project and each of its sub-projects.</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:artifacts(groovy.lang.Closure)"><code class="literal">artifacts { }</code></a></td><td><p>Configures the published artifacts for this project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:buildscript(groovy.lang.Closure)"><code class="literal">buildscript { }</code></a></td><td><p>Configures the build script classpath for this project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:configurations(groovy.lang.Closure)"><code class="literal">configurations { }</code></a></td><td><p>Configures the dependency configurations for this project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:dependencies(groovy.lang.Closure)"><code class="literal">dependencies { }</code></a></td><td><p>Configures the dependencies for this project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:repositories(groovy.lang.Closure)"><code class="literal">repositories { }</code></a></td><td><p>Configures the repositories for this project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:sourceSets(groovy.lang.Closure)"><code class="literal">sourceSets { }</code></a></td><td><p>Configures the source sets of this project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:subprojects(groovy.lang.Closure)"><code class="literal">subprojects { }</code></a></td><td><p>Configures the sub-projects of this project.</p></td></tr><tr><td><a class="link" href="org.gradle.api.Project.html#org.gradle.api.Project:publishing(groovy.lang.Closure)"><code class="literal">publishing { }</code></a></td><td><p>Configures the <a class="ulink" href="./org.gradle.api.publish.PublishingExtension.html" target="_top"><code class="classname">PublishingExtension</code></a> added by the publishing plugin.</p></td></tr></table></div></div><p>A build script is also a Groovy script, and so can contain those elements allowed in a Groovy script,
such as method definitions and class definitions.
</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N100CA" class="section-anchor" href="#N100CA"></a>Core types</h2></div></div></div><p>Listed below are some of the central types which are used in Gradle scripts:</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N100CF"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.api.Project.html"><code class="literal">Project</code></a></td><td><p>This interface is the main API you use to interact with Gradle from your build file. From a <code class="literal">Project</code>,
you have programmatic access to all of Gradle's features.</p></td></tr><tr><td><a class="link" href="org.gradle.api.Task.html"><code class="literal">Task</code></a></td><td><p>A <code class="literal">Task</code> represents a single atomic piece of work for a build, such as compiling classes or generating
javadoc.</p></td></tr><tr><td><a class="link" href="org.gradle.api.invocation.Gradle.html"><code class="literal">Gradle</code></a></td><td><p>Represents an invocation of Gradle.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.initialization.Settings.html"><code class="literal">Settings</code></a></td><td><p>Declares the configuration required to instantiate and configure the hierarchy of <a class="ulink" href="./org.gradle.api.Project.html" target="_top"><code class="classname">Project</code></a> instances which are to participate in a build.</p></td></tr><tr><td><a class="link" href="org.gradle.api.initialization.IncludedBuild.html"><code class="literal">IncludedBuild</code></a></td><td><p>A build that is included in the composite.</p></td></tr><tr><td><a class="link" href="org.gradle.api.Script.html"><code class="literal">Script</code></a></td><td><p>This interface is implemented by all Gradle scripts to add in some Gradle-specific methods. As your compiled
script class will implement this interface, you can use the methods and properties declared by this interface
directly in your script.</p></td></tr><tr><td><a class="link" href="org.gradle.jvm.toolchain.JavaToolChain.html"><code class="literal">JavaToolChain</code></a></td><td><p>A set of tools for building from Java source.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.SourceSet.html"><code class="literal">SourceSet</code></a></td><td><p>A <code class="literal">SourceSet</code> represents a logical group of Java source and resources.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.SourceSetOutput.html"><code class="literal">SourceSetOutput</code></a></td><td><p>A collection of all output directories (compiled classes, processed resources, etc.) - notice that <a class="ulink" href="./org.gradle.api.tasks.SourceSetOutput.html" target="_top"><code class="classname">SourceSetOutput</code></a> extends <a class="ulink" href="../javadoc/org/gradle/api/file/FileCollection.html" target="_top"><code class="classname">FileCollection</code></a>.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.incremental.IncrementalTaskInputs.html"><code class="literal">IncrementalTaskInputs</code></a></td><td><p>Provides access to any input files that need to be processed by an incremental task.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.Configuration.html"><code class="literal">Configuration</code></a></td><td><p>A <code class="literal">Configuration</code> represents a group of artifacts and their dependencies.
Find more information about declaring dependencies to a configuration
or about managing configurations in docs for <a class="ulink" href="./org.gradle.api.artifacts.ConfigurationContainer.html" target="_top"><code class="classname">ConfigurationContainer</code></a>
</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.ResolutionStrategy.html"><code class="literal">ResolutionStrategy</code></a></td><td><p>Defines the strategies around dependency resolution.
For example, forcing certain dependency versions, substitutions, conflict resolutions or snapshot timeouts.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.query.ArtifactResolutionQuery.html"><code class="literal">ArtifactResolutionQuery</code></a></td><td><p>A builder to construct a query that can resolve selected software artifacts of the specified components.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.ComponentSelection.html"><code class="literal">ComponentSelection</code></a></td><td><p>Represents a tuple of the component selector of a module and a candidate version
to be evaluated in a component selection rule.</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.ComponentSelectionRules.html"><code class="literal">ComponentSelectionRules</code></a></td><td><p>Represents a container for component selection rules. Rules can be applied as part of the
resolutionStrategy of a configuration and individual components can be explicitly accepted
or rejected by rule. Components that are neither accepted or rejected will be subject to
the default version matching strategies.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.dsl.ConventionProperty.html"><code class="literal">ConventionProperty</code></a></td><td><p>ConventionProperty can be assigned but <span class="emphasis"><em>cannot</em></span> be mutated (even if the object is mutable!)
</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.repository.GradlePluginPortal.html"><code class="literal">GradlePluginPortal</code></a></td><td><p>The Gradle Plugin Portal which can be used to resolve plugins.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.ExtensionAware.html"><code class="literal">ExtensionAware</code></a></td><td><p>Objects that can be extended at runtime with other objects.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.ExtraPropertiesExtension.html"><code class="literal">ExtraPropertiesExtension</code></a></td><td><p>Additional, ad-hoc, properties for Gradle domain objects.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.PublishingExtension.html"><code class="literal">PublishingExtension</code></a></td><td><p>The configuration of how to “publish” the different components of a project.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.ivy.IvyPublication.html"><code class="literal">IvyPublication</code></a></td><td><p>A <code class="literal">IvyPublication</code> is the representation/configuration of how Gradle should publish something in Ivy format, to an Ivy repository.
You directly add a named Ivy Publication the project's <code class="literal">publishing.publications</code> container by providing <a class="ulink" href="./org.gradle.api.publish.ivy.IvyPublication.html" target="_top"><code class="classname">IvyPublication</code></a> as the type.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.ivy.IvyArtifact.html"><code class="literal">IvyArtifact</code></a></td><td><p>An artifact published as part of a <a class="ulink" href="./org.gradle.api.publish.ivy.IvyPublication.html" target="_top"><code class="classname">IvyPublication</code></a>.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.ivy.IvyArtifactSet.html"><code class="literal">IvyArtifactSet</code></a></td><td><p>A Collection of <a class="ulink" href="./org.gradle.api.publish.ivy.IvyArtifact.html" target="_top"><code class="classname">IvyArtifact</code></a>s to be included in an <a class="ulink" href="./org.gradle.api.publish.ivy.IvyPublication.html" target="_top"><code class="classname">IvyPublication</code></a>.
Being a <a class="ulink" href="../javadoc/org/gradle/api/DomainObjectSet.html" target="_top"><code class="classname">DomainObjectSet</code></a>, a <code class="literal">IvyArtifactSet</code> provides convenient methods for querying, filtering, and applying actions to the set of <a class="ulink" href="./org.gradle.api.publish.ivy.IvyArtifact.html" target="_top"><code class="classname">IvyArtifact</code></a>s.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.ivy.IvyModuleDescriptorSpec.html"><code class="literal">IvyModuleDescriptorSpec</code></a></td><td><p>The descriptor of any Ivy publication.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.repository.IvyPluginRepository.html"><code class="literal">IvyPluginRepository</code></a></td><td><p>Represents an Ivy repository which contains Gradle plugins.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.maven.MavenPublication.html"><code class="literal">MavenPublication</code></a></td><td><p>A <code class="literal">MavenPublication</code> is the representation/configuration of how Gradle should publish something in Maven format.
You directly add a named Maven Publication the project's <code class="literal">publishing.publications</code> container by providing <a class="ulink" href="./org.gradle.api.publish.maven.MavenPublication.html" target="_top"><code class="classname">MavenPublication</code></a> as the type.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.maven.MavenArtifact.html"><code class="literal">MavenArtifact</code></a></td><td><p>An artifact published as part of a <a class="ulink" href="./org.gradle.api.publish.maven.MavenPublication.html" target="_top"><code class="classname">MavenPublication</code></a>.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.maven.MavenArtifactSet.html"><code class="literal">MavenArtifactSet</code></a></td><td><p>A Collection of <a class="ulink" href="./org.gradle.api.publish.maven.MavenArtifact.html" target="_top"><code class="classname">MavenArtifact</code></a>s to be included in a <a class="ulink" href="./org.gradle.api.publish.maven.MavenPublication.html" target="_top"><code class="classname">MavenPublication</code></a>.
Being a <a class="ulink" href="../javadoc/org/gradle/api/DomainObjectSet.html" target="_top"><code class="classname">DomainObjectSet</code></a>, a <code class="literal">MavenArtifactSet</code> provides convenient methods for querying, filtering, and applying actions to the set of <a class="ulink" href="./org.gradle.api.publish.maven.MavenArtifact.html" target="_top"><code class="classname">MavenArtifact</code></a>s.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.maven.MavenPom.html"><code class="literal">MavenPom</code></a></td><td><p>The POM for a Maven publication.
The <a class="ulink" href="./org.gradle.api.publish.maven.MavenPom.html#org.gradle.api.publish.maven.MavenPom:withXml(org.gradle.api.Action)" target="_top"><code class="classname">MavenPom.withXml(org.gradle.api.Action)</code></a> method can be used to modify the descriptor after it has been generated according to the publication data.</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.repository.MavenPluginRepository.html"><code class="literal">MavenPluginRepository</code></a></td><td><p>Represents a Maven repository which contains Gradle plugins.</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.use.PluginDependenciesSpec.html"><code class="literal">PluginDependenciesSpec</code></a></td><td><p>The DSL for declaring plugins to use in a script.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.use.PluginDependencySpec.html"><code class="literal">PluginDependencySpec</code></a></td><td><p>A mutable specification of a dependency on a plugin.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.repository.PluginRepositoriesSpec.html"><code class="literal">PluginRepositoriesSpec</code></a></td><td><p>Used to declare <a class="ulink" href="./org.gradle.plugin.repository.PluginRepository.html" target="_top"><code class="classname">PluginRepository</code></a> instances.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugin.repository.PluginRepository.html"><code class="literal">PluginRepository</code></a></td><td><p>Represents a repository from which Gradle plugins can be resolved.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.resources.ResourceHandler.html"><code class="literal">ResourceHandler</code></a></td><td><p>Provides access to resource-specific utility methods, for example factory methods that create various resources.</p></td></tr><tr><td><a class="link" href="org.gradle.api.resources.TextResourceFactory.html"><code class="literal">TextResourceFactory</code></a></td><td><p>Creates <code class="literal">TextResource</code>s backed by sources such as strings, files, and archive entries.
</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N1029B" class="section-anchor" href="#N1029B"></a>Container types</h2></div></div></div><p>Container types that handle various declarative elements (e.g. dependencies, configurations, artifacts, etc.):</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N102A0"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.api.artifacts.ConfigurationContainer.html"><code class="literal">ConfigurationContainer</code></a></td><td><p>A <code class="literal">ConfigurationContainer</code> is responsible for declaring and managing configurations. See also <a class="ulink" href="./org.gradle.api.artifacts.Configuration.html" target="_top"><code class="classname">Configuration</code></a>.</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.dsl.RepositoryHandler.html"><code class="literal">RepositoryHandler</code></a></td><td><p>A <code class="literal">RepositoryHandler</code> manages a set of repositories, allowing repositories to be defined and queried.</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.dsl.DependencyHandler.html"><code class="literal">DependencyHandler</code></a></td><td><p>A <code class="literal">DependencyHandler</code> is used to declare dependencies. Dependencies are grouped into
configurations (see <a class="ulink" href="./org.gradle.api.artifacts.Configuration.html" target="_top"><code class="classname">Configuration</code></a>).</p></td></tr><tr><td><a class="link" href="org.gradle.api.artifacts.dsl.ArtifactHandler.html"><code class="literal">ArtifactHandler</code></a></td><td><p>This class is for defining artifacts to be published and adding them to configurations. Creating publish artifacts
does not mean to create an archive. What is created is a domain object which represents a file to be published
and information on how it should be published (e.g. the name).
</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N102E1" class="section-anchor" href="#N102E1"></a>Help Task types</h2></div></div></div><p>Below are the task types that are available for every Gradle project.
Those task types can also be declared and configured directly in the build script.
</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N102E6"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.api.tasks.diagnostics.TaskReportTask.html"><code class="literal">TaskReportTask</code></a></td><td><p>Displays a list of tasks in the project. An instance of this type is used when you execute the <code class="literal">tasks</code> task
from the command-line.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.diagnostics.ProjectReportTask.html"><code class="literal">ProjectReportTask</code></a></td><td><p>Displays a list of projects in the build. An instance of this type is used when you execute the <code class="literal">projects</code>
task from the command-line.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.diagnostics.DependencyReportTask.html"><code class="literal">DependencyReportTask</code></a></td><td><p>Displays the dependency tree for a project. An instance of this type is used when you
execute the <code class="literal">dependencies</code> task from the command-line.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.diagnostics.DependencyInsightReportTask.html"><code class="literal">DependencyInsightReportTask</code></a></td><td><p>Generates a report that attempts to answer questions like:
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.diagnostics.PropertyReportTask.html"><code class="literal">PropertyReportTask</code></a></td><td><p>Displays the properties of a project. An instance of this type is used when you execute the <code class="literal">properties</code> task
from the command-line.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.components.ComponentReport.html"><code class="literal">ComponentReport</code></a></td><td><p>Displays some details about the software components produced by the project.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.dependents.DependentComponentsReport.html"><code class="literal">DependentComponentsReport</code></a></td><td><p>Displays dependent components.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.model.ModelReport.html"><code class="literal">ModelReport</code></a></td><td><p>Displays some details about the configuration model of the project.
An instance of this type is used when you execute the <code class="literal">model</code> task from the command-line.</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N10347" class="section-anchor" href="#N10347"></a>Task types</h2></div></div></div><p>Listed below are the various task types which are available for use in your build script:</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N1034C"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.api.plugins.antlr.AntlrTask.html"><code class="literal">AntlrTask</code></a></td><td><p>Generates parsers from Antlr grammars.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.diagnostics.BuildEnvironmentReportTask.html"><code class="literal">BuildEnvironmentReportTask</code></a></td><td><p>Provides information about the build environment for the project that the task is associated with.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.quality.Checkstyle.html"><code class="literal">Checkstyle</code></a></td><td><p>Runs Checkstyle against some source files.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.quality.CodeNarc.html"><code class="literal">CodeNarc</code></a></td><td><p>Runs CodeNarc against some source files.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.buildcomparison.gradle.CompareGradleBuilds.html"><code class="literal">CompareGradleBuilds</code></a></td><td><p>Executes two Gradle builds (that can be the same build) with specified versions and compares the outcomes.
Please see the “Comparing Builds” chapter of the Gradle User Guide for more information.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.Copy.html"><code class="literal">Copy</code></a></td><td><p>Copies files into a destination directory. This task can also rename and filter files as it copies. The task
implements <a class="ulink" href="../javadoc/org/gradle/api/file/CopySpec.html" target="_top"><code class="classname">CopySpec</code></a> for specifying what to copy.
</p></td></tr><tr><td><a class="link" href="org.gradle.jvm.application.tasks.CreateStartScripts.html"><code class="literal">CreateStartScripts</code></a></td><td><p>Creates start scripts for launching JVM applications.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.Delete.html"><code class="literal">Delete</code></a></td><td><p>Deletes files or directories. Example:</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ear.Ear.html"><code class="literal">Ear</code></a></td><td><p>Assembles an EAR archive.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.Exec.html"><code class="literal">Exec</code></a></td><td><p>Executes a command line process. Example:
</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.quality.FindBugs.html"><code class="literal">FindBugs</code></a></td><td><p>Analyzes code with <a class="ulink" href="http://findbugs.sourceforge.net" target="_top">FindBugs</a>. See the <a class="ulink" href="http://findbugs.sourceforge.net/manual/" target="_top">FindBugs Manual</a> for additional information on configuration
options.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.ivy.tasks.GenerateIvyDescriptor.html"><code class="literal">GenerateIvyDescriptor</code></a></td><td><p>Generates an Ivy XML Module Descriptor file.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.maven.tasks.GenerateMavenPom.html"><code class="literal">GenerateMavenPom</code></a></td><td><p>Generates a Maven module descriptor (POM) file.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.GenerateBuildDashboard.html"><code class="literal">GenerateBuildDashboard</code></a></td><td><p>Generates build dashboard report.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.GradleBuild.html"><code class="literal">GradleBuild</code></a></td><td><p>Executes a Gradle build.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.compile.GroovyCompile.html"><code class="literal">GroovyCompile</code></a></td><td><p>Compiles Groovy source files, and optionally, Java source files.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.javadoc.Groovydoc.html"><code class="literal">Groovydoc</code></a></td><td><p>Generates HTML API documentation for Groovy source, and optionally, Java source.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.dependencies.HtmlDependencyReportTask.html"><code class="literal">HtmlDependencyReportTask</code></a></td><td><p>Generates an HTML dependency report. This report
combines the features of the ASCII dependency report and those of the ASCII
dependency insight report. For a given project, it generates a tree of the dependencies
of every configuration, and each dependency can be clicked to show the insight of
this dependency.
</p></td></tr><tr><td><a class="link" href="org.gradle.testing.jacoco.tasks.JacocoReport.html"><code class="literal">JacocoReport</code></a></td><td><p>Task to generate HTML, Xml and CSV reports of Jacoco coverage data.</p></td></tr><tr><td><a class="link" href="org.gradle.testing.jacoco.tasks.JacocoMerge.html"><code class="literal">JacocoMerge</code></a></td><td><p>Task to merge multiple execution data files into one.</p></td></tr><tr><td><a class="link" href="org.gradle.testing.jacoco.tasks.JacocoCoverageVerification.html"><code class="literal">JacocoCoverageVerification</code></a></td><td><p>Task for verifying code coverage metrics. Fails the task if violations are detected based on specified rules.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.bundling.Jar.html"><code class="literal">Jar</code></a></td><td><p>Assembles a JAR archive.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.compile.JavaCompile.html"><code class="literal">JavaCompile</code></a></td><td><p>Compiles Java source files.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.javadoc.Javadoc.html"><code class="literal">Javadoc</code></a></td><td><p>Generates HTML API documentation for Java classes.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.JavaExec.html"><code class="literal">JavaExec</code></a></td><td><p>Executes a Java application in a child process.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.quality.JDepend.html"><code class="literal">JDepend</code></a></td><td><p>Analyzes code with <a class="ulink" href="http://clarkware.com/software/JDepend.html" target="_top">JDepend</a>.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.jetty.JettyRun.html"><code class="literal">JettyRun</code></a></td><td><p>Deploys an exploded web application to an embedded Jetty web container. Does not require that the web application
be assembled into a war, saving time during the development cycle.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.jetty.JettyRunWar.html"><code class="literal">JettyRunWar</code></a></td><td><p>Deploys a WAR to an embedded Jetty web container.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.jetty.JettyStop.html"><code class="literal">JettyStop</code></a></td><td><p>Stops the embedded Jetty web container, if it is running.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.quality.Pmd.html"><code class="literal">Pmd</code></a></td><td><p>Runs a set of static code analysis rules on Java source code files and generates a report of problems found.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.ivy.tasks.PublishToIvyRepository.html"><code class="literal">PublishToIvyRepository</code></a></td><td><p>Publishes an IvyPublication to an IvyArtifactRepository.</p></td></tr><tr><td><a class="link" href="org.gradle.api.publish.maven.tasks.PublishToMavenRepository.html"><code class="literal">PublishToMavenRepository</code></a></td><td><p>Publishes a <a class="ulink" href="./org.gradle.api.publish.maven.MavenPublication.html" target="_top"><code class="classname">MavenPublication</code></a> to a <a class="ulink" href="./org.gradle.api.artifacts.repositories.MavenArtifactRepository.html" target="_top"><code class="classname">MavenArtifactRepository</code></a>.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.scala.ScalaCompile.html"><code class="literal">ScalaCompile</code></a></td><td><p>Compiles Scala source files, and optionally, Java source files.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.scala.ScalaDoc.html"><code class="literal">ScalaDoc</code></a></td><td><p>Generates HTML API documentation for Scala source files.</p></td></tr><tr><td><a class="link" href="org.gradle.buildinit.tasks.InitBuild.html"><code class="literal">InitBuild</code></a></td><td><p>Generates a Gradle project structure.</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.signing.Sign.html"><code class="literal">Sign</code></a></td><td><p>A task for creating digital signature files for one or more; tasks, files, publishable artifacts or configurations.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.Sync.html"><code class="literal">Sync</code></a></td><td><p>Synchronizes the contents of a destination directory with some source directories and files.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.bundling.Tar.html"><code class="literal">Tar</code></a></td><td><p>Assembles a TAR archive.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.testing.Test.html"><code class="literal">Test</code></a></td><td><p>Executes JUnit (3.8.x or 4.x) or TestNG tests. Test are always run in (one or more) separate JVMs.
The sample below shows various configuration options.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.testing.TestReport.html"><code class="literal">TestReport</code></a></td><td><p>Generates an HTML test report from the results of one or more <a class="ulink" href="./org.gradle.api.tasks.testing.Test.html" target="_top"><code class="classname">Test</code></a> tasks.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.Upload.html"><code class="literal">Upload</code></a></td><td><p>Uploads the artifacts of a <a class="ulink" href="./org.gradle.api.artifacts.Configuration.html" target="_top"><code class="classname">Configuration</code></a> to a set of repositories.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.bundling.War.html"><code class="literal">War</code></a></td><td><p>Assembles a WAR archive.</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.wrapper.Wrapper.html"><code class="literal">Wrapper</code></a></td><td><p>Generates scripts (for *nix and windows) which allow you to build your project with Gradle, without having to
install Gradle.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.WriteProperties.html"><code class="literal">WriteProperties</code></a></td><td><p>Writes a <a class="ulink" href="http://download.oracle.com/javase/10/docs/api/java/util/Properties.html" target="_top"><code class="classname">Properties</code></a> in a way that the results can be expected to be reproducible.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.tasks.bundling.Zip.html"><code class="literal">Zip</code></a></td><td><p>Assembles a ZIP archive.
The default is to compress the contents of the zip.</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N10515" class="section-anchor" href="#N10515"></a>Reporting types</h2></div></div></div><p>Listed below are some of the types which are used when generating reports:</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N1051A"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.api.reporting.CustomizableHtmlReport.html"><code class="literal">CustomizableHtmlReport</code></a></td><td><p>A HTML Report whose generation can be customized with a XSLT stylesheet.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.SingleFileReport.html"><code class="literal">SingleFileReport</code></a></td><td><p>A report that is a single file.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.DirectoryReport.html"><code class="literal">DirectoryReport</code></a></td><td><p>A directory based report to be created.</p></td></tr><tr><td><a class="link" href="org.gradle.api.plugins.quality.FindBugsXmlReport.html"><code class="literal">FindBugsXmlReport</code></a></td><td><p>The single file XML report for FindBugs.</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.Report.html"><code class="literal">Report</code></a></td><td><p>A file based report to be created.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.Reporting.html"><code class="literal">Reporting</code></a></td><td><p>An object that provides reporting options.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.ReportContainer.html"><code class="literal">ReportContainer</code></a></td><td><p>A container of <a class="ulink" href="./org.gradle.api.reporting.Report.html" target="_top"><code class="classname">Report</code></a> objects, that represent potential reports.
</p></td></tr><tr><td><a class="link" href="org.gradle.api.reporting.ReportingExtension.html"><code class="literal">ReportingExtension</code></a></td><td><p>A project extension named "reporting" that provides basic reporting settings and utilities.
</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N10571" class="section-anchor" href="#N10571"></a>Eclipse/IDEA model types</h2></div></div></div><p>Used to configure Eclipse or IDEA plugins</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N10576"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseModel.html"><code class="literal">EclipseModel</code></a></td><td><p>DSL-friendly model of the Eclipse project information.
First point of entry for customizing Eclipse project generation.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseProject.html"><code class="literal">EclipseProject</code></a></td><td><p>Enables fine-tuning project details (.project file) of the Eclipse plugin
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseClasspath.html"><code class="literal">EclipseClasspath</code></a></td><td><p>The build path settings for the generated Eclipse project. Used by the
<a class="ulink" href="./org.gradle.plugins.ide.eclipse.GenerateEclipseClasspath.html" target="_top"><code class="classname">GenerateEclipseClasspath</code></a> task to generate an Eclipse .classpath file.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseJdt.html"><code class="literal">EclipseJdt</code></a></td><td><p>Enables fine-tuning jdt details of the Eclipse plugin
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseWtp.html"><code class="literal">EclipseWtp</code></a></td><td><p>Enables fine-tuning wtp/wst details of the Eclipse plugin
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseWtpComponent.html"><code class="literal">EclipseWtpComponent</code></a></td><td><p>Enables fine-tuning wtp component details of the Eclipse plugin
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.model.EclipseWtpFacet.html"><code class="literal">EclipseWtpFacet</code></a></td><td><p>Enables fine-tuning wtp facet details of the Eclipse plugin
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaModel.html"><code class="literal">IdeaModel</code></a></td><td><p>DSL-friendly model of the IDEA project information.
First point of entry when it comes to customizing the IDEA generation.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaProject.html"><code class="literal">IdeaProject</code></a></td><td><p>Enables fine-tuning project details (*.ipr file) of the IDEA plugin.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaModule.html"><code class="literal">IdeaModule</code></a></td><td><p>Enables fine-tuning module details (*.iml file) of the IDEA plugin.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.model.IdeaWorkspace.html"><code class="literal">IdeaWorkspace</code></a></td><td><p>Enables fine-tuning workspace details (*.iws file) of the IDEA plugin.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.api.XmlFileContentMerger.html"><code class="literal">XmlFileContentMerger</code></a></td><td><p>Models the generation/parsing/merging capabilities.
Adds XML-related hooks.
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.api.FileContentMerger.html"><code class="literal">FileContentMerger</code></a></td><td><p>Models the generation/parsing/merging capabilities.
</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N105FA" class="section-anchor" href="#N105FA"></a>Eclipse/IDEA task types</h2></div></div></div><p>Tasks contributed by IDE plugins. To configure IDE plugins please use IDE model types.</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N105FF"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseProject.html"><code class="literal">GenerateEclipseProject</code></a></td><td><p>Generates an Eclipse <code class="literal">.project</code> file. If you want to fine tune the eclipse configuration
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseClasspath.html"><code class="literal">GenerateEclipseClasspath</code></a></td><td><p>Generates an Eclipse <code class="literal">.classpath</code> file. If you want to fine tune the eclipse configuration
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseJdt.html"><code class="literal">GenerateEclipseJdt</code></a></td><td><p>Generates the Eclipse JDT configuration file. If you want to fine tune the eclipse configuration
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseWtpComponent.html"><code class="literal">GenerateEclipseWtpComponent</code></a></td><td><p>Generates the org.eclipse.wst.common.component settings file for Eclipse WTP.
If you want to fine tune the eclipse configuration
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.eclipse.GenerateEclipseWtpFacet.html"><code class="literal">GenerateEclipseWtpFacet</code></a></td><td><p>Generates the org.eclipse.wst.common.project.facet.core settings file for Eclipse WTP.
If you want to fine tune the eclipse configuration
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.GenerateIdeaModule.html"><code class="literal">GenerateIdeaModule</code></a></td><td><p>Generates an IDEA module file. If you want to fine tune the idea configuration
</p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.GenerateIdeaProject.html"><code class="literal">GenerateIdeaProject</code></a></td><td><p>Generates an IDEA project file for root project *only*. If you want to fine tune the idea configuration </p></td></tr><tr><td><a class="link" href="org.gradle.plugins.ide.idea.GenerateIdeaWorkspace.html"><code class="literal">GenerateIdeaWorkspace</code></a></td><td><p>Generates an IDEA workspace file *only* for root project. There's little you can configure about workspace generation at the moment.</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N10657" class="section-anchor" href="#N10657"></a>Native software model types</h2></div></div></div><p>Used to configure software components developed with native code.</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N1065C"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.nativeplatform.PrebuiltLibrary.html"><code class="literal">PrebuiltLibrary</code></a></td><td><p>A library component that is not built by gradle.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.PrebuiltSharedLibraryBinary.html"><code class="literal">PrebuiltSharedLibraryBinary</code></a></td><td><p>A shared library that exists at a known location on the filesystem.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.PrebuiltStaticLibraryBinary.html"><code class="literal">PrebuiltStaticLibraryBinary</code></a></td><td><p>A static library that exists at a known location on the filesystem.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeComponentSpec.html"><code class="literal">NativeComponentSpec</code></a></td><td><p>Definition of a software component that is to be built by Gradle to run a on JVM platform.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeExecutableSpec.html"><code class="literal">NativeExecutableSpec</code></a></td><td><p>Definition of a native executable component that is to be built by Gradle.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeLibrarySpec.html"><code class="literal">NativeLibrarySpec</code></a></td><td><p>Definition of a native library component that is to be built by Gradle.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.NativeTestSuiteSpec.html"><code class="literal">NativeTestSuiteSpec</code></a></td><td><p>A component representing a suite of tests that will be executed together.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.cunit.CUnitTestSuiteSpec.html"><code class="literal">CUnitTestSuiteSpec</code></a></td><td><p>Test suite of CUnit tests.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.googletest.GoogleTestTestSuiteSpec.html"><code class="literal">GoogleTestTestSuiteSpec</code></a></td><td><p>Test suite of Google Test tests.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeBinarySpec.html"><code class="literal">NativeBinarySpec</code></a></td><td><p>Represents a binary artifact that is the result of building a native component.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeExecutableBinarySpec.html"><code class="literal">NativeExecutableBinarySpec</code></a></td><td><p>An binary built by Gradle for a native application.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeLibraryBinarySpec.html"><code class="literal">NativeLibraryBinarySpec</code></a></td><td><p>Represents a binary artifact that is the result of building a native library component.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.SharedLibraryBinarySpec.html"><code class="literal">SharedLibraryBinarySpec</code></a></td><td><p>A shared library binary built by Gradle for a native library.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.StaticLibraryBinarySpec.html"><code class="literal">StaticLibraryBinarySpec</code></a></td><td><p>A static library binary built by Gradle for a native library.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.NativeTestSuiteBinarySpec.html"><code class="literal">NativeTestSuiteBinarySpec</code></a></td><td><p>An executable which runs a suite of tests.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.cunit.CUnitTestSuiteBinarySpec.html"><code class="literal">CUnitTestSuiteBinarySpec</code></a></td><td><p>An executable which run a CUnit test suite.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.googletest.GoogleTestTestSuiteBinarySpec.html"><code class="literal">GoogleTestTestSuiteBinarySpec</code></a></td><td><p>An executable which run a Google Test test suite.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.platform.NativePlatform.html"><code class="literal">NativePlatform</code></a></td><td><p>A target platform for building native binaries. Each target platform is given a name, and may optionally be given
a specific <a class="ulink" href="../javadoc/org/gradle/nativeplatform/platform/Architecture.html" target="_top"><code class="classname">Architecture</code></a> and/or <a class="ulink" href="../javadoc/org/gradle/nativeplatform/platform/OperatingSystem.html" target="_top"><code class="classname">OperatingSystem</code></a> to target.
</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.BuildType.html"><code class="literal">BuildType</code></a></td><td><p>Specifies a build-type for a native binary. Common build types are 'debug' and 'release', but others may be defined.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.Flavor.html"><code class="literal">Flavor</code></a></td><td><p>Defines a custom variant that differentiate a <a class="ulink" href="./org.gradle.nativeplatform.NativeBinary.html" target="_top"><code class="classname">NativeBinary</code></a>.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.toolchain.Gcc.html"><code class="literal">Gcc</code></a></td><td><p>The <a class="ulink" href="http://gcc.gnu.org/" target="_top">GNU GCC</a> tool chain.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.toolchain.Clang.html"><code class="literal">Clang</code></a></td><td><p>The <a class="ulink" href="http://clang.llvm.org" target="_top">Clang</a> tool chain.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.toolchain.VisualCpp.html"><code class="literal">VisualCpp</code></a></td><td><p>The Visual C++ tool chain.</p></td></tr><tr><td><a class="link" href="org.gradle.language.assembler.AssemblerSourceSet.html"><code class="literal">AssemblerSourceSet</code></a></td><td><p>A set of assembly language sources.
</p></td></tr><tr><td><a class="link" href="org.gradle.language.c.CSourceSet.html"><code class="literal">CSourceSet</code></a></td><td><p>A set of C source files.
</p></td></tr><tr><td><a class="link" href="org.gradle.language.cpp.CppSourceSet.html"><code class="literal">CppSourceSet</code></a></td><td><p>A set of C++ source files.
</p></td></tr><tr><td><a class="link" href="org.gradle.language.objectivec.ObjectiveCSourceSet.html"><code class="literal">ObjectiveCSourceSet</code></a></td><td><p>A set of Objective-C source files.
</p></td></tr><tr><td><a class="link" href="org.gradle.language.objectivecpp.ObjectiveCppSourceSet.html"><code class="literal">ObjectiveCppSourceSet</code></a></td><td><p>A set of Objective-C++ source files.
</p></td></tr><tr><td><a class="link" href="org.gradle.language.rc.WindowsResourceSet.html"><code class="literal">WindowsResourceSet</code></a></td><td><p>A set of Windows Resource definition files.
</p></td></tr><tr><td><a class="link" href="org.gradle.ide.visualstudio.VisualStudioProject.html"><code class="literal">VisualStudioProject</code></a></td><td><p>A visual studio project, created from one or more <a class="ulink" href="./org.gradle.nativeplatform.NativeBinary.html" target="_top"><code class="classname">NativeBinary</code></a> instances.
</p></td></tr><tr><td><a class="link" href="org.gradle.ide.visualstudio.VisualStudioSolution.html"><code class="literal">VisualStudioSolution</code></a></td><td><p>A visual studio solution, representing one or more <a class="ulink" href="./org.gradle.nativeplatform.NativeBinarySpec.html" target="_top"><code class="classname">NativeBinarySpec</code></a> instances
from the same <a class="ulink" href="./org.gradle.nativeplatform.NativeComponentSpec.html" target="_top"><code class="classname">NativeComponentSpec</code></a>.
</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeExecutable.html"><code class="literal">NativeExecutable</code></a></td><td><p>An executable native component that is built by Gradle.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeLibrary.html"><code class="literal">NativeLibrary</code></a></td><td><p>A library component that is built by a gradle project.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeBinary.html"><code class="literal">NativeBinary</code></a></td><td><p>Represents a particular binary artifact.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.NativeExecutableBinary.html"><code class="literal">NativeExecutableBinary</code></a></td><td><p>A binary artifact for a <a class="ulink" href="./org.gradle.nativeplatform.NativeExecutable.html" target="_top"><code class="classname">NativeExecutable</code></a>, targeted at a particular platform with specific configuration.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.SharedLibraryBinary.html"><code class="literal">SharedLibraryBinary</code></a></td><td><p>A <a class="ulink" href="./org.gradle.nativeplatform.NativeLibrary.html" target="_top"><code class="classname">NativeLibrary</code></a> that has been compiled and linked as a shared library.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.StaticLibraryBinary.html"><code class="literal">StaticLibraryBinary</code></a></td><td><p>A <a class="ulink" href="./org.gradle.nativeplatform.NativeLibrary.html" target="_top"><code class="classname">NativeLibrary</code></a> that has been compiled and archived into a static library.</p></td></tr></table></div></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title"><a xmlns:xslthl="http://xslthl.sf.net" name="N107E8" class="section-anchor" href="#N107E8"></a>Native binary task types</h2></div></div></div><p>Tasks used to build native binaries.</p><div xmlns:xslthl="http://xslthl.sf.net" class="table"><div class="table-contents"><table role="dslTypes" id="N107ED"><thead><tr><td>Type</td><td>Description</td></tr></thead><tr><td><a class="link" href="org.gradle.language.cpp.tasks.CppCompile.html"><code class="literal">CppCompile</code></a></td><td><p>Compiles C++ source files into object files.</p></td></tr><tr><td><a class="link" href="org.gradle.language.c.tasks.CCompile.html"><code class="literal">CCompile</code></a></td><td><p>Compiles C source files into object files.</p></td></tr><tr><td><a class="link" href="org.gradle.language.assembler.tasks.Assemble.html"><code class="literal">Assemble</code></a></td><td><p>Translates Assembly language source files into object files.</p></td></tr><tr><td><a class="link" href="org.gradle.language.objectivec.tasks.ObjectiveCCompile.html"><code class="literal">ObjectiveCCompile</code></a></td><td><p>Compiles Objective-C source files into object files.</p></td></tr><tr><td><a class="link" href="org.gradle.language.objectivecpp.tasks.ObjectiveCppCompile.html"><code class="literal">ObjectiveCppCompile</code></a></td><td><p>Compiles Objective-C++ source files into object files.</p></td></tr><tr><td><a class="link" href="org.gradle.language.rc.tasks.WindowsResourceCompile.html"><code class="literal">WindowsResourceCompile</code></a></td><td><p>Compiles Windows Resource scripts into .res files.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.tasks.LinkExecutable.html"><code class="literal">LinkExecutable</code></a></td><td><p>Links a binary executable from object files and libraries.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.tasks.LinkSharedLibrary.html"><code class="literal">LinkSharedLibrary</code></a></td><td><p>Links a binary shared library from object files and imported libraries.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.tasks.CreateStaticLibrary.html"><code class="literal">CreateStaticLibrary</code></a></td><td><p>Assembles a static library from object files.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.tasks.InstallExecutable.html"><code class="literal">InstallExecutable</code></a></td><td><p>Installs an executable with it's dependent libraries so it can be easily executed.</p></td></tr><tr><td><a class="link" href="org.gradle.nativeplatform.test.tasks.RunTestExecutable.html"><code class="literal">RunTestExecutable</code></a></td><td><p>Runs a compiled and installed test executable.</p></td></tr></table></div></div></div></div></div></body></html>
|