| Modifier and Type | Method and Description |
|---|---|
Projenrc |
build() |
Projenrc.Builder |
className(String className)
(experimental) The name of the Java class which contains the `main()` method for projen.
|
static Projenrc.Builder |
create(Project project,
Pom pom) |
Projenrc.Builder |
projenVersion(String projenVersion)
(experimental) The projen version to use.
|
Projenrc.Builder |
testScope(Boolean testScope)
(experimental) Defines projenrc under the test scope instead of the main scope, which is reserved to the app.
|
@Stability(value=Experimental) public static Projenrc.Builder create(Project project, Pom pom)
project - This parameter is required.pom - This parameter is required.Projenrc.Builder.@Stability(value=Experimental) public Projenrc.Builder className(String className)
Default: "projenrc"
className - The name of the Java class which contains the `main()` method for projen. This parameter is required.this@Stability(value=Experimental) public Projenrc.Builder projenVersion(String projenVersion)
Default: - current version
projenVersion - The projen version to use. This parameter is required.this@Stability(value=Experimental) public Projenrc.Builder testScope(Boolean testScope)
This means that projenrc will be under
src/test/java/projenrc.java and projen will be defined as a test
dependency. This enforces that application code does not take a dependency
on projen code.
If this is disabled, projenrc should be under
src/main/java/projenrc.java.
Default: true
testScope - Defines projenrc under the test scope instead of the main scope, which is reserved to the app. This parameter is required.thisCopyright © 2021. All rights reserved.