- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for createChildProject (0.2 sec)
-
subprojects/diagnostics/src/test/groovy/org/gradle/api/plugins/HelpTasksPluginSpec.groovy
hasHelpTask(BuildEnvironmentReportTask.TASK_NAME, BuildEnvironmentReportTask) } def "tasks description reflects whether project has sub-projects or not"() { given: def child = TestUtil.createChildProject(project, "child") when: project.pluginManager.apply(HelpTasksPlugin) child.pluginManager.apply(HelpTasksPlugin) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 29 22:32:34 UTC 2022 - 2.9K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy
getTask().getOnlyIf().isSatisfiedBy(getTask()) } def "test Path"() { given: def childProject = TestUtil.createChildProject(project, "child") childProject.getProjectDir().mkdirs() def childchildProject = TestUtil.createChildProject(childProject, "childchild") childchildProject.getProjectDir().mkdirs() and: def task = createTask(project, TEST_TASK_NAME)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8.5K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/eclipse/model/internal/EclipseDependenciesCreatorTest.groovy
private ProjectInternal childProject private EclipseClasspath eclipseClasspath private EclipseDependenciesCreator dependenciesProvider def setup() { childProject = TestUtil.createChildProject(project, "child", temporaryFolder.testDirectory.file("child")) eclipseClasspath = TestUtil.newInstance(EclipseClasspath, project) dependenciesProvider = new EclipseDependenciesCreator(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/model/IdeaModuleTest.groovy
import org.gradle.util.TestUtil class IdeaModuleTest extends AbstractProjectBuilderSpec { private ProjectInternal moduleProject def setup() { moduleProject = TestUtil.createChildProject(project, "child", new File(".")) } def "language level is null for non java projects"() { given: project.getPlugins().apply(JavaPlugin) project.getPlugins().apply(IdeaPlugin)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/ProjectBuilder.java
return this; } /** * Creates the project. * * @return The project */ public Project build() { if (parent != null) { return impl.createChildProject(name, parent, projectDir); } return impl.createProject(name, projectDir, gradleUserHomeDir); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 3.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/InstantiatingBuildLoaderTest.groovy
} ProjectInternal project(ProjectDescriptor descriptor, ProjectInternal parent) { ProjectInternal project if (parent) { project = TestUtil.createChildProject(parent, descriptor.name, descriptor.projectDir) } else { project = TestUtil.createRootProject(descriptor.projectDir) } project }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 24 13:56:30 UTC 2022 - 5.9K bytes - Viewed (0) -
platforms/jvm/war/src/test/groovy/org/gradle/api/plugins/WarPluginTest.groovy
} def "depends on runtime config"() { given: project.pluginManager.apply(WarPlugin) when: Project childProject = TestUtil.createChildProject(project, 'child') childProject.pluginManager.apply(JavaPlugin) project.dependencies { runtimeOnly project(path: childProject.path, configuration: 'archives') } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 22 18:51:45 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/idea/IdeaDependenciesProviderTest.groovy
private ProjectInternal childProject private IdeArtifactRegistry artifactRegistry private IdeaDependenciesProvider dependenciesProvider def setup() { childProject = TestUtil.createChildProject(project, "child", temporaryFolder.testDirectory.file("child")) artifactRegistry = Stub(IdeArtifactRegistry)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 01 11:07:39 UTC 2023 - 9.3K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy
.withName("test-project") if (userHomeDir != null) { builder.withGradleUserHomeDir(userHomeDir) } return builder.build() } static ProjectInternal createChildProject(ProjectInternal parent, String name, File projectDir = null) { return ProjectBuilder .builder() .withName(name) .withParent(parent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 13.2K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java
import java.util.function.Function; import static org.gradle.internal.concurrent.CompositeStoppable.stoppable; public class ProjectBuilderImpl { private static ServiceRegistry globalServices; public Project createChildProject(String name, Project parent, @Nullable File projectDir) { ProjectInternal parentProject = (ProjectInternal) parent;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:36 UTC 2024 - 15.7K bytes - Viewed (0)