- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for BinaryTasks (0.16 sec)
-
platforms/software/platform-base/src/main/java/org/gradle/platform/base/BinaryTasks.java
* * The following example demonstrates how to register multiple tasks for custom binary using a plugin with a * {@link org.gradle.platform.base.BinaryTasks} annotation. * * <pre class='autoTested'> * {@literal @}Managed interface SampleComponent extends ComponentSpec {} * {@literal @}Managed interface SampleBinary extends BinarySpec {} *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractorTest.groovy
class Rules { @BinaryTasks static String returnValue(ModelMap<Task> builder, SomeBinarySpec binary) { } @BinaryTasks static void noParams() { } @BinaryTasks static void wrongSubject(BinarySpec binary, String input) { } @BinaryTasks
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomBinaryTasksIntegrationTest.groovy
""" } def "executing #taskdescr triggers custom task"() { given: buildFile << """ class BinaryTasksPlugin extends RuleSource { @BinaryTasks void createSampleComponentComponents(ModelMap<Task> tasks, SampleBinary binary) { tasks.create("\${binary.projectScopedName}Task") } } apply plugin:BinaryTasksPlugin
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/customModel/languageType/groovy/buildSrc/src/main/groovy/sample/markdown/MarkdownPlugin.groovy
package sample.markdown import org.gradle.api.Task import org.gradle.model.ModelMap import org.gradle.model.RuleSource import org.gradle.platform.base.BinaryTasks import org.gradle.platform.base.ComponentType import org.gradle.platform.base.TypeBuilder import sample.documentation.DocumentationBinary // tag::markdown-lang-registration[] // tag::markdown-tasks-generation[] class MarkdownPlugin extends RuleSource {
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/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractor.java
import org.gradle.platform.base.BinaryTasks; import org.gradle.platform.base.plugins.BinaryBasePlugin; import javax.annotation.Nullable; import java.util.ArrayList; import java.util.List; import static org.gradle.model.internal.core.NodePredicate.allLinks; public class BinaryTasksModelRuleExtractor extends AbstractAnnotationDrivenComponentModelRuleExtractor<BinaryTasks> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 00:10:35 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/customModel/languageType/groovy/buildSrc/src/main/groovy/sample/documentation/DocumentationPlugin.groovy
binaries.create("exploded") { binary -> outputDir = new File(buildDir, "${component.name}/${binary.name}") } } // end::binaries-generation[] // tag::text-tasks-generation[] @BinaryTasks void generateTextTasks(ModelMap<Task> tasks, final DocumentationBinary binary) { binary.inputs.withType(TextSourceSet) { textSourceSet -> def taskName = binary.tasks.taskName("compile", textSourceSet.name)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/RuleSource.java
* <li>{@link Validate}</li> * <li>{@link Rules}</li> * <li>{@link org.gradle.platform.base.ComponentType}</li> * <li>{@link org.gradle.platform.base.ComponentBinaries}</li> * <li>{@link org.gradle.platform.base.BinaryTasks}</li> * </ul> * <p> * Each annotation specifies the type of the rule, which affects when it will be executed. * <p> * The following constraints apply to all rule methods: * <ul>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.6K bytes - Viewed (0)