Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 168 for task2_name (0.23 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsGroovyDSLIntegrationTest.groovy

    
        def "can apply a plugin declared in a catalog"() {
            String taskName = 'greet'
            String message = 'Hello from plugin!'
            String pluginId = 'com.acme.greeter'
            String pluginVersion = '1.5'
            def plugin = new PluginBuilder(file("greeter"))
                .addPluginWithPrintlnTask(taskName, message, pluginId)
                .publishAs("some", "artifact", pluginVersion, pluginPortal, executer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeParallelIntegrationTest.groovy

                    }
                }
            """
        }
    
        def createTaskThatRunsInParallelUsingWorkerLeaseInjectionWith(String taskName) {
            setupParallelTaskAndExpectations(taskName)
    
            buildFile << """
                ${callbackWorkerLeaseService}
    
                tasks.matching { it.name == '${taskName}' }.all { task ->
                    def workerLeaseService = task.asDynamicObject.publicType.getDeclaredField("workerLeaseService")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/CatalogPluginsKotlinDSLIntegrationTest.groovy

        def "can declare multiple catalogs"() {
            String taskName = 'greet'
            String message = 'Hello from plugin!'
            String pluginId = 'com.acme.greeter'
            String pluginVersion = '1.5'
            def plugin = new PluginBuilder(file("greeter"))
                .addPluginWithPrintlnTask(taskName, message, pluginId)
                .publishAs("some", "artifact", pluginVersion, pluginPortal, executer)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

        configureGradleTestEnvironment()
        addSetUpAndTearDownActions()
    }
    
    fun executerRequiresDistribution(taskName: String) =
        !taskName.startsWith("embedded") || taskName.contains("CrossVersion") // <- Tooling API [other-version]->[current]
    
    fun executerRequiresFullDistribution(taskName: String) =
        taskName.startsWith("noDaemon")
    
    fun DistributionTest.addSetUpAndTearDownActions() {
        cachesCleaner = cachesCleanerService
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 14:05:00 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/operations/logging/BuildOperationLogInfo.java

        private final File outputFile;
        private final int maximumFailures;
        private final String taskName;
    
        BuildOperationLogInfo(String taskName, File outputFile, int maximumFailures) {
            this.outputFile = outputFile;
            this.maximumFailures = maximumFailures;
            this.taskName = taskName;
        }
    
        public int getMaximumFailedOperationsShown() {
            return maximumFailures;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/software/platform-base/src/main/java/org/gradle/language/base/internal/plugins/CleanRule.java

            return "Pattern: " + CLEAN + "<TaskName>: Cleans the output files of a task.";
        }
    
        @Override
        public String toString() {
            return "Rule: " + getDescription();
        }
    
        @Override
        public void apply(String taskName) {
            if (!taskName.startsWith(CLEAN) || taskName.equals(CLEAN)) {
                return;
            }
            String targetTaskName = taskName.substring(CLEAN.length());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedOutputFixture.java

        }
    
        public boolean hasTask(String taskName) {
            return tasks.containsKey(taskName);
        }
    
        public GroupedTaskOutputFixture task(String taskName) {
            boolean foundTask = hasTask(taskName);
    
            if (!foundTask) {
                throw new AssertionError(String.format("The grouped output for task '%s' could not be found.%nOutput:%n%s", taskName, originalOutput));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

            final boolean includeSubprojects;
            final String taskName;
    
            public ProjectResolutionResult(BuildState build, ProjectState project, boolean includeSubprojects, String taskName) {
                this.build = build;
                this.project = project;
                this.includeSubprojects = includeSubprojects;
                this.taskName = taskName;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

                systemProp.org.gradle.internal.cmdline.max.length=1000
            """
    
            when:
            succeeds taskName, "-i"
    
            then:
            executedAndNotSkipped(":$taskName")
            assertOutputContainsShorteningMessage()
    
            where:
            method                    | taskName
            'JavaExec task'           | 'run'
            'project.javaexec'        | 'runWithJavaExec'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/internal/operations/logging/DefaultBuildOperationLoggerFactory.java

        }
    
    
        @Override
        public BuildOperationLogger newOperationLogger(String taskName, File outputDir) {
            final File outputFile = createOutputFile(outputDir);
            final BuildOperationLogInfo configuration = createLogInfo(taskName, outputFile, MAX_FAILURES);
            return new DefaultBuildOperationLogger(configuration, logger, outputFile);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:54:01 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top