- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 644 for defaulttarg (0.28 sec)
-
platforms/documentation/docs/src/snippets/java/toolchain-config-task/kotlin/build.gradle.kts
import java.io.ByteArrayOutputStream plugins { `java-base` } abstract class TaskThatRequiresJavaExecutable : DefaultTask() { @get:Internal abstract val javaExecutable: RegularFileProperty @get:Inject protected abstract val execOps: ExecOperations @TaskAction fun action() { val outputBytes = ByteArrayOutputStream() execOps.exec {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/plugins/buildService/groovy/buildSrc/src/main/java/Download.java
import org.gradle.api.DefaultTask; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.provider.Property; import org.gradle.api.tasks.Internal; import org.gradle.api.tasks.OutputFile; import org.gradle.api.tasks.TaskAction; import java.net.URI; public abstract class Download extends DefaultTask { // This property provides access to the service instance @Internal abstract Property<WebServer> getServer();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 776 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ManagedPropertyGroovyInterOpIntegrationTest.groovy
*/ package org.gradle.api.provider import org.gradle.api.DefaultTask import org.gradle.api.tasks.Internal import org.gradle.api.tasks.TaskAction class ManagedPropertyGroovyInterOpIntegrationTest extends AbstractPropertyGroovyInterOpIntegrationTest { def setup() { pluginDir.file("src/main/groovy/SomeTask.groovy") << """ import ${DefaultTask.name} import ${Property.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyGroovyInterOpIntegrationTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.provider import org.gradle.api.DefaultTask import org.gradle.api.model.ObjectFactory import org.gradle.api.tasks.Internal import org.gradle.api.tasks.TaskAction import javax.inject.Inject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/kotlin/buildSrc/src/main/java/BuildInfo.java
import org.gradle.api.DefaultTask; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.provider.Property; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.OutputFile; import org.gradle.api.tasks.TaskAction; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Properties; public abstract class BuildInfo extends DefaultTask { @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 865 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/implicitTaskInputDependency/kotlin/build.gradle.kts
abstract class Producer : DefaultTask() { @get:OutputFile abstract val outputFile: RegularFileProperty @TaskAction fun produce() { val message = "Hello, World!" val output = outputFile.get().asFile output.writeText( message) logger.quiet("Wrote '${message}' to ${output}") } } abstract class Consumer : DefaultTask() { @get:Input abstract val message: Property<String>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 15.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/groovy/buildSrc/src/main/java/BuildInfo.java
import org.gradle.api.DefaultTask; import org.gradle.api.file.RegularFileProperty; import org.gradle.api.provider.Property; import org.gradle.api.tasks.Input; import org.gradle.api.tasks.OutputFile; import org.gradle.api.tasks.TaskAction; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Properties; // tag::task[] public abstract class BuildInfo extends DefaultTask { @Input
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 895 bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/CompileTaskConfig.java
private final NativeLanguageTransform<?> languageTransform; private final Class<? extends DefaultTask> taskType; public CompileTaskConfig(NativeLanguageTransform<?> languageTransform, Class<? extends DefaultTask> taskType) { this.languageTransform = languageTransform; this.taskType = taskType; } @Override public String getTaskPrefix() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy
buildKotlinFile """ abstract class PrintString : DefaultTask() { @get:Input abstract val string: Property<String> @TaskAction fun printString() { println("The string is " + string.get()) } } abstract class ProduceString : DefaultTask() { @get:OutputFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 28K bytes - Viewed (0)