An extension class for customizing the behavior of the JavaModernPlugin.
| Modifiers | Name | Description |
|---|---|---|
protected org.gradle.api.Project |
project |
The build project. |
| Type | Name and description |
|---|---|
CloudExtension |
cloudA nested extension object for customizing dependencies based on public cloud platforms being targeted. |
String |
mainBranchThe name of the main branch for the project's repository. |
boolean |
skipReleaseCiWhether to skip CI on release commits (defaults to true). |
| Constructor and description |
|---|
JavaModernExtension
(org.gradle.api.Project project)Construct a new extension object. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
cloud(org.gradle.api.Action<? super CloudExtension> action) |
|
void |
cloud(Closure closure) |
|
TestOptions |
getFunctionalTests()Get a test configuration builder initialized for targeting functional tests. |
|
TestOptions |
getIntegrationTests()Get a test configuration builder initialized for targeting integration tests. |
|
TestOptions |
getTests()Get a test configuration builder initialized for targeting unit tests. |
A nested extension object for customizing dependencies based on public cloud platforms being targeted.
The name of the main branch for the project's repository.
Whether to skip CI on release commits (defaults to true).
Construct a new extension object.
project - the build project.Get a test configuration builder initialized for targeting functional tests.
Get a test configuration builder initialized for targeting integration tests.
Get a test configuration builder initialized for targeting unit tests.
Copyright © 2019 John Stewart. All rights reserved.