ВУЗ: Не указан

Категория: Не указан

Дисциплина: Не указана

Добавлен: 01.01.2026

Просмотров: 1121

Скачиваний: 0

ВНИМАНИЕ! Если данный файл нарушает Ваши авторские права, то обязательно сообщите нам.

17.8.Configuring a task - various ways

17.9.Configuring a task - fluent interface

17.10.Configuring a task - with closure

17.11.Configuring a task - with configure() method

17.12.Defining a task with closure

17.13.Adding dependency on task from another project

17.14.Adding dependency using task object

17.15.Adding dependency using closure

17.16.Adding a description to a task

17.17.Overwriting a task

17.18.Skipping a task using a predicate

17.19.Skipping tasks with StopExecutionException

17.20.Enabling and disabling tasks

17.21.A generator task

17.22.Declaring the inputs and outputs of a task

17.23.Task rule

17.24.Dependency on rule based tasks

18.1.Locating files

18.2.Creating a file collection

18.3.Using a file collection

18.4.Implementing a file collection

18.5.Creating a file tree

18.6.Using a file tree

18.7.Using an archive as a file tree

18.8.Specifying a set of files

18.9.Specifying a set of files

18.10.Copying files using the copy task

18.11.Specifying copy task source files and destination directory

18.12.Selecting the files to copy

18.13.Copying files using the copy() method

18.14.Renaming files as they are copied

18.15.Filtering files as they are copied

18.16.Nested copy specs

18.17.Using the Sync task to copy dependencies

18.18.Creating a ZIP archive

18.19.Creation of ZIP archive

18.20.Configuration of archive task - custom archive name

18.21.Configuration of archive task - appendix & classifier

19.1.Using stdout to write log messages

19.2.Writing your own log messages

19.3.Using SLF4J to write log messages

19.4.Configuring standard output capture

19.5.Configuring standard output capture for a task

19.6.Customizing what Gradle logs

20.1.Using an Ant task

20.2.Passing nested text to an Ant task

20.3.Passing nested elements to an Ant task

20.4.Using an Ant type


20.5.Using a custom Ant task

20.6.Declaring the classpath for a custom Ant task

20.7.Using a custom Ant task and dependency management together

20.8.Importing an Ant build

20.9.Task that depends on Ant target

20.10.Adding behaviour to an Ant target

20.11.Ant target that depends on Gradle task

20.12.Setting an Ant property

20.13.Getting an Ant property

20.14.Setting an Ant reference

20.15.Getting an Ant reference

21.1.Applying a plugin

21.2.Applying a plugin by type

21.3.Applying a plugin by type

21.4.Tasks added by a plugin

21.5.Changing plugin defaults

21.6.Plugin convention object

23.1.Using the Java plugin

23.2.Custom Java source layout

23.3.Accessing a source set

23.4.Configuring the source directories of a source set

23.5.Defining a source set

23.6.Defining source set dependencies

23.7.Compiling a source set

23.8.Assembling a JAR for a source set

23.9.Generating the Javadoc for a source set

23.10.Running tests in a source set

23.11.Customization of MANIFEST.MF

23.12.Creating a manifest object.

23.13.Separate MANIFEST.MF for a particular archive

23.14.Separate MANIFEST.MF for a particular archive

24.1.Using the Groovy plugin

24.2.Custom Groovy source layout

24.3.Configuration of Groovy plugin

24.4.Configuration of Groovy plugin

25.1.Using the Scala plugin

25.2.Custom Scala source layout

25.3.Declaring the Scala version to use

25.4.Enabling the Fast Scala Compiler

26.1.Using the War plugin

26.2.Customization of war plugin

27.1.Using the Ear plugin

27.2.Customization of ear plugin

28.1.Using the Jetty plugin

29.1.Using the Checkstyle plugin

30.1.Using the CodeNarc plugin

31.1.Using the FindBugs plugin

32.1.Using the JDepend plugin


33.1. Using the PMD plugin

34.1.Applying the Sonar plugin

34.2.Configuring Sonar connection settings

34.3.Configuring Sonar project settings

34.4.Global configuration in a multi-project build

34.5.Common project configuration in a multi-project build

34.6.Individual project configuration in a multi-project build

34.7.Configuring the language to be analyzed

34.8.Using property syntax

34.9.Analyzing custom source sets

34.10.Setting custom global properties

34.11.Setting custom project properties

35.1.Using the OSGi plugin

35.2.Configuration of OSGi MANIFEST.MF file

36.1.Using the Eclipse plugin

36.2.Partial Overwrite for Classpath

36.3.Partial Overwrite for Project

36.4.Export Dependencies

36.5.Customizing the XML

37.1.Using the IDEA plugin

37.2.Partial Overwrite for Module

37.3.Partial Overwrite for Project

37.4.Export Dependencies

37.5.Customizing the XML

38.1.Using the Antlr plugin

38.2.Declare Antlr version

40.1.Using the announce plugin

40.2.Configure the announce plugin

40.3.Using the announce plugin

41.1.Using the build announcements plugin

41.2.Using the build announcements plugin from an init script

42.1.Using the application plugin

42.2.Configure the application main class

42.3.Include output from other tasks in the application distribution

42.4.Automatically creating files for distribution

43.1.Definition of a configuration

43.2.Accessing a configuration

43.3.Configuration of a configuration

43.4.Module dependencies

43.5.Artifact only notation

43.6.Dependency with classifier

43.7.Usage of external dependency of a configuration

43.8.Client module dependencies - transitive dependencies

43.9.Project dependencies

43.10.File dependencies

43.11.Generated file dependencies

43.12.Gradle API dependencies

43.13.Gradle's Groovy dependencies


43.14.Excluding transitive dependencies

43.15.Optional attributes of dependencies

43.16.Collections and arrays of dependencies

43.17.Dependency configurations

43.18.Dependency configurations for project

43.19.Configuration.copy

43.20.Accessing declared dependencies

43.21.Configuration.files

43.22.Configuration.files with spec

43.23.Configuration.copy

43.24.Configuration.copy vs. Configuration.files

43.25.Adding central Maven repository

43.26.Adding the local Maven cache as a repository

43.27.Adding custom Maven repository

43.28.Adding additional Maven repositories for JAR files

43.29.Accessing password protected Maven repository

43.30.Flat repository resolver

43.31.Ivy repository

43.32.Ivy repository with pattern layout

43.33.Ivy repository with custom patterns

43.34.Ivy repository

43.35.Accessing a repository

43.36.Configuration of a repository

43.37.Definition of a custom repository

43.38.Dynamic version cache control

43.39.Changing module cache control

44.1.Defining an artifact using an archive task

44.2.Defining an artifact using a file

44.3.Customizing an artifact

44.4.Map syntax for defining an artifact using a file

44.5.Configuration of the upload task

45.1.Using the Maven plugin

45.2.Creating a stand alone pom.

45.3.Upload of file to remote Maven repository

45.4.Upload of file via SSH

45.5.Customization of pom

45.6.Builder style customization of pom

45.7.Modifying auto-generated content

45.8.Customization of Maven installer

45.9.Generation of multiple poms

45.10.Accessing a mapping configuration

46.1.Using the Signing plugin

46.2.Signing a configuration

46.3.Signing a configuration output

46.4.Signing a task

46.5.Signing a task output

46.6.Conditional signing

46.7.Signing a POM for deployment


47.1.Using the 'cpp-exe' plugin

47.2.Using the 'cpp-lib' plugin

47.3.Supplying arbitrary args to the compiler

47.4.Declaring dependencies

47.5.Declaring project dependencies

47.6.Uploading exe or lib

48.1.Single project build

48.2.Hierarchical layout

48.3.Flat layout

48.4.Modification of elements of the project tree

48.5.Modification of elements of the project tree

48.6.Adding of test task to each project which has certain property set

48.7.Notifications

48.8.Setting of certain property to all tasks

48.9.Logging of start and end of each task execution

49.1.Multi-project tree - water & bluewhale projects

49.2.Build script of water (parent) project

49.3.Multi-project tree - water, bluewhale & krill projects

49.4.Water project build script

49.5.Defining common behaviour of all projects and subprojects

49.6.Defining specific behaviour for particular project

49.7.Defining specific behaviour for project krill

49.8.Adding custom behaviour to some projects (filtered by project name)

49.9.Adding custom behaviour to some projects (filtered by project properties)

49.10.Running build from subproject

49.11.Evaluation and execution of projects

49.12.Evaluation and execution of projects

49.13.Running tasks by their absolute path

49.14.Dependencies and execution order

49.15.Dependencies and execution order

49.16.Dependencies and execution order

49.17.Declaring dependencies

49.18.Declaring dependencies

49.19.Cross project task dependencies

49.20.Configuration time dependencies

49.21.Configuration time dependencies - evaluationDependsOn

49.22.Configuration time dependencies

49.23.Dependencies - real life example - crossproject configuration

49.24.Project lib dependencies

49.25.Project lib dependencies

49.26.Fine grained control over dependencies

49.27.Build and Test Single Project

49.28.Partial Build and Test Single Project

49.29.Build and Test Depended On Projects

49.30.Build and Test Dependent Projects

50.1.Defining a custom task

50.2.A hello world task

50.3.A customizable hello world task