- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for findByPath (1.15 sec)
-
platforms/ide/tooling-api/src/test/groovy/org/gradle/plugins/ide/internal/tooling/DefaultGradleProjectTest.groovy
child2.children = [child21] expect: root.findByPath(':') == root root.findByPath('') == null root.findByPath('blah blah') == null root.findByPath(':child1:child12') == child12 root.findByPath(':child2') == child2 child1.findByPath(':') == null child1.findByPath(':child1:child11') == child11 }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/DefaultGradleProject.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r112/BuildInvocationsCrossVersionSpec.groovy
connection.getModel(GradleProject) } GradleTask taskT1 = model.tasks.find { it.name == 't1' } GradleTask taskBT2 = model.findByPath(':b').tasks.find { it.name == 't2' } GradleTask taskBCT1 = model.findByPath(':b:c').tasks.find { it.name == 't1' } def result = withBuild { BuildLauncher it -> it.forLaunchables(taskT1, taskBT2, taskBCT1) } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.TaskContainer.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/ImplicitTasksToolingApiCrossVersionSpec.groovy
""" when: GradleProject project = withConnection { it.getModel(GradleProject.class) } then: project.tasks*.name.containsAll rootProjectImplicitTasks project.findByPath(":subproject").tasks*.name.containsAll implicitTasks }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/TaskContainerDelegate.kt
delegate.maybeCreate(name, type) override fun maybeCreate(name: String): Task = delegate.maybeCreate(name) override fun findByPath(path: String): Task? = delegate.findByPath(path) override fun <S : Task> withType(type: Class<S>): TaskCollection<S> = delegate.withType(type)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 01 08:18:33 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/model/GradleProject.java
* Searches all descendants (children, grand-children, etc.), including self, by given path. * * @return Gradle project with matching path or {@code null} if not found. */ @Nullable GradleProject findByPath(String path); /** * Returns the build script for this project. * * @return The build script. * @since 1.8
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy
def taskSelectionResult = Mock(TaskSelectionResult) _ * projectInternal.getTasks() >> tasksContainerInternal _ * testTask.getFilter() >> testFilter _ * tasksContainerInternal.findByPath(TEST_TASK_NAME) >> testTask TaskCollection<Test> testTaskCollection = Mock() _ * testTaskCollection.iterator() >> [testTask].iterator()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 7.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 14:36:44 UTC 2024 - 44.9K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IdeaModelBuilder.java
DefaultIdeaModule defaultIdeaModule = new DefaultIdeaModule() .setName(ideaModule.getName()) .setParent(ideaProject) .setGradleProject(rootGradleProject.findByPath(ideaModule.getProject().getPath())) .setContentRoots(Collections.singletonList(contentRoot)) .setJdkName(ideaModule.getJdkName())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 12 14:00:13 UTC 2023 - 7.5K bytes - Viewed (0)