Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for enableFeaturePreview (0.26 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/initialization/EvaluateSettingsBuildOperationIntegrationTest.groovy

            operations()[1].details.buildPath == ":nested"
        }
    
        def 'can configure feature preview in settings'() {
            given:
            settingsFile << '''
    enableFeaturePreview('GROOVY_COMPILATION_AVOIDANCE')
    '''
            expect:
            succeeds('help')
        }
    
        def 'can create project directories in afterEvaluate'() {
            given:
            settingsFile << '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinSettingsScriptIntegrationTest.kt

                )
            )
        }
    
        @Test
        fun `enableSettingsPreview is available`() {
            withSettings("""
                rootProject.name = "under-test"
                enableFeaturePreview("${FeaturePreviews.Feature.TYPESAFE_PROJECT_ACCESSORS.name}")
            """)
            build("help")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/java/compile/AbstractGroovyCompileAvoidanceIntegrationSpec.groovy

            """
        }
    
        def 'always recompile if compilation avoidance is not enabled'() {
            given:
            settingsFile.text = settingsFile.text.readLines().findAll { !it.contains("enableFeaturePreview") }.join('\n')
            buildFile << """
                project(':b') {
                    dependencies {
                        implementation project(':a')
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/feature_lifecycle.adoc

    [[feature_preview]]
    === Feature Preview API
    
    The feature preview API allows certain _incubating_ features to be activated by adding `enableFeaturePreview('FEATURE')` in your _settings_ file.
    Individual preview features will be announced in release notes.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top