- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for source_task (0.19 sec)
-
platforms/documentation/docs/src/snippets/workerApi/md5NoIsolation/kotlin/buildSrc/src/main/java/CreateMD5.java
import org.gradle.api.tasks.*; import org.gradle.workers.*; import org.gradle.api.file.DirectoryProperty; import javax.inject.Inject; import java.io.File; abstract public class CreateMD5 extends SourceTask { @OutputDirectory abstract public DirectoryProperty getDestinationDirectory(); @Inject abstract public WorkerExecutor getWorkerExecutor(); // <1> @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 990 bytes - Viewed (0) -
build-logic/packaging/src/test/kotlin/gradlebuild/instrumentation/InstrumentationMetadataPluginTest.kt
""") File(codeQualityDir, "src/main/java/org/gradle/quality").mkdirs() File(codeQualityDir, "src/main/java/org/gradle/quality/SourceTask.java").writeText(""" package org.gradle.quality; import org.gradle.api.DefaultTask; public class SourceTask extends DefaultTask {} """) File(codeQualityDir, "src/main/java/org/gradle/quality/Checkstyle.java").writeText("""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:55:53 UTC 2023 - 10.9K bytes - Viewed (0) -
platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/AbstractCodeQualityTask.java
import org.gradle.api.provider.Property; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.Nested; import org.gradle.api.tasks.Optional; import org.gradle.api.tasks.SourceTask; import org.gradle.api.tasks.VerificationTask; import org.gradle.jvm.toolchain.JavaLauncher; import org.gradle.jvm.toolchain.JavaToolchainService; import org.gradle.jvm.toolchain.internal.CurrentJvmToolchainSpec;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/workerApi/md5NoIsolation/groovy/buildSrc/src/main/java/CreateMD5.java
import org.gradle.api.tasks.*; import org.gradle.workers.*; import org.gradle.api.file.DirectoryProperty; import javax.inject.Inject; import java.io.File; abstract public class CreateMD5 extends SourceTask { @OutputDirectory abstract public DirectoryProperty getDestinationDirectory(); @Inject abstract public WorkerExecutor getWorkerExecutor(); // <1> @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 990 bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
import org.gradle.api.tasks.CacheableTask import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gradle.api.tasks.SourceTask import org.gradle.api.tasks.TaskAction /** * Extracts meta-data from the Groovy and Java source files which make up the Gradle API. Persists the meta-data to a file
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 08 12:45:57 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/workerApi/md5ProcessIsolation/groovy/buildSrc/src/main/java/CreateMD5.java
import org.gradle.api.tasks.*; import org.gradle.process.JavaForkOptions; import org.gradle.workers.*; import javax.inject.Inject; import java.io.File; import java.util.Set; abstract public class CreateMD5 extends SourceTask { @InputFiles abstract public ConfigurableFileCollection getCodecClasspath(); // <1> @OutputDirectory abstract public DirectoryProperty getDestinationDirectory(); @Inject
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/documentation/docs/src/snippets/workerApi/workerDaemon/kotlin/build.gradle.kts
println("Reversed ${fileToReverse.length()} bytes from ${fileToReverse.name}") } } } abstract class ReverseFiles @Inject constructor(private val workerExecutor: WorkerExecutor) : SourceTask() { @get:OutputDirectory abstract val outputDir: DirectoryProperty @TaskAction fun reverseFiles() { // tag::worker-daemon[] // Create a WorkQueue with process isolation
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/workerApi/noIsolation/kotlin/build.gradle.kts
} } // end::unit-of-work[] // tag::task-implementation[] // The WorkerExecutor will be injected by Gradle at runtime abstract class ReverseFiles @Inject constructor(private val workerExecutor: WorkerExecutor) : SourceTask() { @get:OutputDirectory abstract val outputDir: DirectoryProperty @TaskAction fun reverseFiles() { // Create a WorkQueue to submit work items
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/documentation/docs/src/snippets/workerApi/workerDaemon/groovy/build.gradle
if (Boolean.getBoolean("org.gradle.sample.showFileSize")) { println "Reversed ${fileToReverse.size()} bytes from ${fileToReverse.name}" } } } abstract class ReverseFiles extends SourceTask { private final WorkerExecutor workerExecutor @OutputDirectory abstract DirectoryProperty getOutputDir() // The WorkerExecutor will be injected by Gradle at runtime @Inject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/workerApi/noIsolation/groovy/build.gradle
into parameters.destinationDir filter { String line -> line.reverse() } } } } // end::unit-of-work[] // tag::task-implementation[] abstract class ReverseFiles extends SourceTask { private final WorkerExecutor workerExecutor @OutputDirectory abstract DirectoryProperty getOutputDir() // The WorkerExecutor will be injected by Gradle at runtime @Inject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.7K bytes - Viewed (0)