Gradle

김신영·2023년 3월 23일
0
post-thumbnail

Gralde 빌드 수행 구성 요소

Project

https://docs.gradle.org/current/dsl/org.gradle.api.Project.html

Task

https://docs.gradle.org/current/dsl/org.gradle.api.Task.html

SourceSet

https://docs.gradle.org/current/dsl/org.gradle.api.tasks.SourceSet.html

Tasks

https://docs.gradle.org/current/dsl/org.gradle.api.tasks.TaskContainer.html

Task Types

https://docs.gradle.org/current/dsl/#N104D7

TypeDescription
AntlrTaskGenerates parsers from Antlr grammars.
BuildEnvironmentReportTaskProvides information about the build environment for the project that the task is associated with.
CheckstyleRuns Checkstyle against some source files.
CodeNarcRuns CodeNarc against some source files.
CopyCopies files into a destination directory. This task can also rename and filter files as it copies. The task implements CopySpec for specifying what to copy.
CreateStartScriptsCreates start scripts for launching JVM applications.
DeleteDeletes files or directories. Example:
EarAssembles an EAR archive.
ExecExecutes a command line process. Example:
GenerateIvyDescriptorGenerates an Ivy XML Module Descriptor file.
GenerateMavenPomGenerates a Maven module descriptor (POM) file.
GenerateBuildDashboardGenerates build dashboard report.
GradleBuildExecutes a Gradle build.
GroovyCompileCompiles Groovy source files, and optionally, Java source files.
GroovydocGenerates HTML API documentation for Groovy source, and optionally, Java source.
HtmlDependencyReportTaskGenerates 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.
JacocoReportTask to generate HTML, Xml and CSV reports of Jacoco coverage data.
JacocoCoverageVerificationTask for verifying code coverage metrics. Fails the task if violations are detected based on specified rules.
JarAssembles a JAR archive.
JavaCompileCompiles Java source files.
JavadocGenerates HTML API documentation for Java classes.
JavaExecExecutes a Java application in a child process.
PmdRuns a set of static code analysis rules on Java source code files and generates a report of problems found.
ProcessResourcesCopies resources from their source to their target directory, potentially processing them. Makes sure no stale resources remain in the target directory.
PublishToIvyRepositoryPublishes an IvyPublication to an IvyArtifactRepository.
PublishToMavenRepositoryPublishes a MavenPublication to a MavenArtifactRepository.
ScalaCompileCompiles Scala source files, and optionally, Java source files.
ScalaDocGenerates HTML API documentation for Scala source files.
InitBuildGenerates a Gradle project structure.
SignA task for creating digital signature files for one or more; tasks, files, publishable artifacts or configurations.
SyncSynchronizes the contents of a destination directory with some source directories and files.
TarAssembles a TAR archive.
AbstractTestTaskAbstract class for all test tasks.
TestExecutes JUnit (3.8.x, 4.x or 5.x) or TestNG tests. Test are always run in (one or more) separate JVMs.
TestReportGenerates an HTML test report from the results of one or more Test tasks.
WarAssembles a WAR archive.
WrapperGenerates scripts (for *nix and windows) which allow you to build your project

Task Dependency Diagram

Dependency Scope

profile
Hello velog!

0개의 댓글