Class ProjenrcOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • testScope

        @Stability(Experimental)
        public ProjenrcOptions.Builder testScope​(Boolean testScope)
        Parameters:
        testScope - Defines projenrc under the test scope instead of the main scope, which is reserved to the app. 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.

        Returns:
        this