- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 57 for execOperations (0.17 sec)
-
platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowScheduler.kt
import org.gradle.internal.service.ServiceRegistry import org.gradle.internal.service.scopes.Scope import org.gradle.internal.service.scopes.ServiceScope import org.gradle.process.ExecOperations @ServiceScope(Scope.Build::class) internal class FlowScheduler( instantiatorFactory: InstantiatorFactory, serviceRegistry: ServiceRegistry, ) { private val instantiator by lazy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 15:01:34 UTC 2024 - 2.1K bytes - Viewed (0) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy
import ${Inject.name} interface ExecOperationsGetter { @Inject ExecOperations getExecOps() } def execOperations = objects.newInstance(ExecOperationsGetter).execOps ${runIgnoringInputs(""" execOperations.exec { commandLine(${ShellScript.cmdToVarargLiterals(script.getRelativeCommandLine(testDirectory))})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 29 16:27:53 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy
} } ${ injectedTaskActionTask('javaexecInjectedTaskAction', ''' File testFile = layout.buildDirectory.file(name).get().asFile execOperations.javaexec { assert !(it instanceof ExtensionAware) it.classpath(execClasspath) it.mainClass = 'org.gradle.TestMain'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc
==== The `ArchiveOperations` service is injected into the `MyArchiveOperationsTask` task's constructor using the `@Inject` annotation. [[execoperations]] == 8. `ExecOperations` link:{javadocPath}/org/gradle/process/ExecOperations.html[`ExecOperations`] is a service that provides methods for executing external processes (commands) from within a build script.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 24 04:19:09 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts
} } } // end::exec-op[] // tag::exec-op-inject[] abstract class MyExecOperationsTask @Inject constructor(private var execOperations: ExecOperations) : DefaultTask() { @TaskAction fun doTaskAction() { execOperations.exec { commandLine("ls", "-la") } } } tasks.register("myInjectedExecOperationsTask", MyExecOperationsTask::class) {}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 18:14:15 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/kotlin/buildSrc/src/main/java/org/example/GitClone.java
import org.gradle.api.tasks.Input; import org.gradle.api.tasks.OutputDirectory; import org.gradle.api.tasks.TaskAction; import org.gradle.api.tasks.UntrackedTask; import org.gradle.process.ExecOperations; import org.gradle.process.ExecResult; import javax.inject.Inject; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; // tag::git-clone[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-incrementalBuildAdvanced/groovy/buildSrc/src/main/java/org/example/GitClone.java
import org.gradle.api.tasks.Input; import org.gradle.api.tasks.OutputDirectory; import org.gradle.api.tasks.TaskAction; import org.gradle.api.tasks.UntrackedTask; import org.gradle.process.ExecOperations; import org.gradle.process.ExecResult; import javax.inject.Inject; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; // tag::git-clone[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/isolated/IsolationSchemeTest.groovy
import org.gradle.internal.service.ServiceLookup import org.gradle.internal.service.ServiceLookupException import org.gradle.internal.service.UnknownServiceException import org.gradle.process.ExecOperations import spock.lang.Specification class IsolationSchemeTest extends Specification { def scheme = new IsolationScheme(SomeAction, SomeParams, Nothing) def "can extract parameters type"() { expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 19:49:52 UTC 2023 - 6.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ContainerElementServiceInjectionIntegrationTest.groovy
import org.gradle.api.model.ObjectFactory import org.gradle.api.provider.ProviderFactory import org.gradle.integtests.fixtures.AbstractIntegrationSpec import org.gradle.internal.execution.ExecutionEngine import org.gradle.process.ExecOperations class ContainerElementServiceInjectionIntegrationTest extends AbstractIntegrationSpec { // Document current behaviour
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy
import org.gradle.api.tasks.SourceTask import org.gradle.api.tasks.TaskAction import org.gradle.internal.classloader.ClasspathUtil import org.gradle.internal.work.WorkerLeaseService import org.gradle.process.ExecOperations import javax.inject.Inject @CacheableTask abstract class Docbook2Xhtml extends SourceTask { @Override @PathSensitive(PathSensitivity.RELATIVE) FileTree getSource() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 4.7K bytes - Viewed (0)