- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for configureProjects (0.34 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/build/DefaultBuildLifecycleControllerTest.groovy
t2 == failure when: controller.configureProjects() then: def t3 = thrown RuntimeException t3 == failure } void testConfigureBuild() { def controller = controller() when: controller.configureProjects() then: 1 * buildModelController.configuredModel >> gradleMock
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 20.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/AbstractBuildState.java
return projectsForThisBuild != null && projectsForThisBuild.getRootProject().isCreated(); } @Override public void ensureProjectsConfigured() { getBuildController().configureProjects(); } @Override public GradleInternal getMutableModel() { return getBuildController().getGradle(); } @Override public BuildWorkGraphController getWorkGraph() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 5.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildToolingModelController.java
throw new IllegalArgumentException("Project has unexpected owner."); } // Force configuration of the containing build and then locate the builder for target project buildController.configureProjects(); return doLocate(target, modelName, param); } private ToolingModelScope doLocate(ProjectState target, String modelName, boolean param) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 17:25:08 UTC 2023 - 5.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/BuildLifecycleController.java
*/ <T> T withSettings(Function<? super SettingsInternal, T> action); /** * Configures the projects of the build, if not already done. * Can be called multiple times. */ void configureProjects(); /** * Runs the given action against the mutable state of this build after configuring the projects of the build. * This may fail with an error, if this build is loaded from cache rather than configured.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 23 19:05:29 UTC 2023 - 5.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java
return state.notInState(State.Finished, () -> action.apply(modelController.getLoadedSettings())); } @Override public void configureProjects() { state.notInState(State.Finished, modelController::getConfiguredModel); } @Override public <T> T withProjectsConfigured(Function<? super GradleInternal, T> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 16.5K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy
} @Override <T> T withSettings(Function<? super SettingsInternal, T> action) { throw new UnsupportedOperationException() } @Override void configureProjects() { throw new UnsupportedOperationException() } @Override <T> T withProjectsConfigured(Function<? super GradleInternal, T> action) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy
checkConfigureProject('subprojects', listWithAllChildProjects) } def allprojects() { expect: checkConfigureProject('allprojects', listWithAllProjects) } def configureProjects() { expect: checkConfigureProject('configure', [project, child1] as Set) } private void checkConfigureProject(String configureMethod, Set projectsToCheck) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 35.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProjectLifecycleFixture.groovy
} gradle.addListener(listener) """ } void afterBuild() { configuredProjects = asList(fixtureData.text.split(";")) assert fixtureData.delete() } void assertProjectsConfigured(String ... projectPaths) { assert configuredProjects == projectPaths }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt
withUniqueScript("$className().foo()") configureProject().assertBuildScriptCompiled().assertOutputContains("foo") givenJavaClassInBuildSrcContains("""public void foo() { System.out.println("bar"); }""") configureProject().assertBuildScriptBodyRecompiled().assertOutputContains("bar") } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Sep 24 17:45:42 UTC 2023 - 19.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/PrecompiledPluginsCompileAvoidanceIntegrationTest.kt
} """ ) configureProject().assertBuildScriptCompiled().assertOutputContains("foo") withPrecompiledScriptPluginInBuildSrc( pluginId, """ tasks.register("foo") { doLast { println("bar from task") } } """ ) configureProject("foo").assertBuildScriptCompilationAvoided().assertOutputContains("bar from task")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 5.3K bytes - Viewed (0)