- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 73 for getGradle (0.34 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/delegates/ProjectDelegate.kt
override fun getRootProject(): Project = delegate.rootProject override fun depthCompare(otherProject: Project): Int = delegate.depthCompare(otherProject) override fun getGradle(): Gradle = delegate.gradle override fun getAllTasks(recursive: Boolean): MutableMap<Project, MutableSet<Task>> = delegate.getAllTasks(recursive) override fun uri(path: Any): URI =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 22:16:16 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/build_services.adoc
Currently, build services are scoped to a build, rather than a project, and these services are available to be shared by the tasks of all projects. You can access the registry of shared build services via `Project.getGradle().getSharedServices()`. Here is an example of a plugin that registers the previous service when the task property consuming the service is annotated with `@Internal`: ==== [source.multi-language-sample,java]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:10 UTC 2024 - 11.7K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy
if (node instanceof SelfExecutingNode) { node.execute(null) } } } @Override GradleInternal getGradle() { throw new UnsupportedOperationException() } @Override void loadSettings() { throw new UnsupportedOperationException() } @Override
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/main/java/org/gradle/invocation/DefaultGradle.java
} @Override public BuildListener getBuildListenerBroadcaster() { return buildListenerBroadcast.getSource(); } @Override public Gradle getGradle() { return this; } @Override @Inject public abstract BuildServiceRegistry getSharedServices(); @Override public Collection<IncludedBuild> getIncludedBuilds() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 23.6K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/initialization/Settings.java
*/ ProviderFactory getProviders(); /** * Returns the {@link Gradle} instance for the current build. * * @return The Gradle instance. Never returns null. */ Gradle getGradle(); /** * Includes a build at the specified path to the composite build. * @param rootProject The path to the root project directory for the build. * * @since 3.1 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 08:36:37 UTC 2024 - 14.7K bytes - Viewed (0) -
platforms/software/build-init/src/main/java/org/gradle/api/tasks/wrapper/Wrapper.java
private final Property<Integer> networkTimeout = getProject().getObjects().property(Integer.class); private boolean distributionUrlConfigured = false; private final boolean isOffline = getProject().getGradle().getStartParameter().isOffline(); public Wrapper() { getValidateDistributionUrl().convention(WrapperDefaults.VALIDATE_DISTRIBUTION_URL); } @TaskAction void generate() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 08 03:11:06 UTC 2024 - 18.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
} void nestedInputValue() { nestedInputValueCount++ } } def evaluationCount = project.getGradle().getSharedServices().registerIfAbsent("evaluationCount", EvaluationCountBuildService) {} @CacheableTask abstract class CustomTask extends DefaultTask { @Inject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt
return delegate.findProject(referrer, path) } override fun getInheritedScope(): DynamicObject { return delegate.inheritedScope } override fun getGradle(): GradleInternal { onAccess("gradle") return delegate.gradle } override fun getProjectEvaluationBroadcaster(): ProjectEvaluationListener { shouldNotBeUsed()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 41.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy
identityPath(_) >> { String name -> Path.path(":project").child(name) } projectPath(_) >> { String name -> Path.path(":project").child(name) } getGradle() >> Mock(GradleInternal) { getIdentityPath() >> Path.path(":") } getOwner() >> Mock(ProjectState) { getDepth() >> 0 getProjectPath() >> Path.path(":project") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 14:36:44 UTC 2024 - 44.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java
@Override public ProjectInternal getRootProject(ProjectInternal referrer) { return getCrossProjectModelAccess().access(referrer, rootProject); } @Override public GradleInternal getGradle() { return getCrossProjectModelAccess().gradleInstanceForProject(this, gradle); } @Inject protected abstract ProjectEvaluator getProjectEvaluator(); @Inject @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 50.2K bytes - Viewed (0)