Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for beforeBuild (0.14 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaConfigurationCachePerformanceTest.groovy

        static BuildMutator configurationCacheInvocationListenerFor(InvocationSettings invocationSettings, String action, File stateDirectory) {
            return new BuildMutator() {
                @Override
                void beforeBuild(BuildContext context) {
                    if (action == storing) {
                        stateDirectory.deleteDir()
                    }
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/buildtree/BuildTreeLifecycleController.java

     */
    public interface BuildTreeLifecycleController {
        /**
         * Performs some setup of the mutable model, prior to any execution. Must be called prior to one of the other methods.
         */
        void beforeBuild(Consumer<? super GradleInternal> action);
    
        /**
         * Runs the given action against an empty build model. Does not attempt to perform any configuration or run any tasks.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 02 00:39:25 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/nativeplatform/RealWorldNativePluginPerformanceTest.groovy

            runner.addBuildMutator { invocationSettings ->
                new BuildMutator() {
                    String originalContent
                    File originalContentFor
    
                    @Override
                    void beforeBuild(BuildContext context) {
                        File file = new File(invocationSettings.projectDir, changedFile)
                        if (originalContentFor != file) {
                            assert file.exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/buildtree/DefaultBuildTreeLifecycleController.java

            this.startParameter = startParameter;
            this.buildModelParameters = buildModelParameters;
        }
    
        @Override
        public void beforeBuild(Consumer<? super GradleInternal> action) {
            state.inState(State.NotStarted, () -> action.accept(buildLifecycleController.getGradle()));
        }
    
        @Override
        public void scheduleAndRunTasks() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 07:46:55 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidGradleRecipesKotlinSmokeTest.groovy

                    ${mavenCentralRepository(GradleDsl.KOTLIN)}
                }
            """
        }
    
        private beforeAndroidBuild(SmokeTestGradleRunner runner) {
            SantaTrackerConfigurationCacheWorkaround.beforeBuild(
                runner.projectDir,
                IntegrationTestBuildContext.INSTANCE.gradleUserHomeDir
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top