Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 300 for taskname (0.28 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        }
    
        def "logs replaced task"() {
            when:
            DeprecationLogger.deprecateTask("taskName").replaceWith("replacementTask").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "The taskName task has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Please use the replacementTask task instead."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/DefaultPrecompiledScriptPluginsSupport.kt

    
    private
    inline fun <reified T : Task> Project.codeGenerationTask(
        purpose: String,
        taskName: String,
        kotlinSourceDirectorySet: SourceDirectorySet,
        noinline configure: T.(Provider<Directory>) -> Unit
    ) = buildDir("generated-sources/kotlin-dsl-$purpose/kotlin").let { outputDir ->
        val task = tasks.register(taskName, T::class.java) {
            it.configure(outputDir)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 10:44:10 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

            buildFile << """
                ext.a = 'a' == 'b' ? null: task(withAction) { doLast {} }
                a = task(nothing)
                a = task(emptyOptions())
                ext.taskName = 'dynamic'
                a = task("\$taskName") { doLast {} }
                a = task('string')
                a = task('stringWithAction') { doLast {} }
                a = task('stringWithOptions', description: 'description')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

    
        protected abstract String tasksConfiguration()
    
        protected abstract String pluginBlockApply(String plugin)
    
        protected abstract String createTaskThatDependsOnAllIncludedBuildsTaskWithSameName(String taskName)
    
    
        protected abstract String versionCatalogDependencyDeclaration(String configuration, String alias)
    
        protected abstract String projectDependencyDeclaration(String configuration, int projectNumber)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/Configuration.java

         *                      from configurations with the same name that depend on this one.
         * @param taskName name of task to depend on
         * @return the populated TaskDependency object
         */
        TaskDependency getTaskDependencyFromProjectDependency(boolean useDependedOn, final String taskName);
    
        /**
         * Gets the set of declared dependencies directly contained in this configuration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            and:
            container.size() == 2
        }
    
        private ProjectInternal expectTaskLookupInOtherProject(final String projectPath, final String taskName, def task) {
            def otherProject = Mock(ProjectInternal)
            def otherTaskContainer = Mock(TaskContainerInternal)
            def otherProjectState = Mock(ProjectState)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

            if (useDependedOn) {
                return new TasksFromProjectDependencies(taskName, () -> {
                    return getAllDependencies().withType(ProjectDependency.class);
                }, taskDependencyFactory, projectStateRegistry);
            } else {
                return new TasksFromDependentProjects(taskName, getName(), taskDependencyFactory);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    - For example: `./gradlew :launcher:quickTest`.
    2. Install Gradle locally and try out a change in behavior manually. 
    - Install: `./gradlew install -Pgradle_installPath=/any/path`
    - Use: `/any/path/bin/gradle taskName`.
    
    It's also a good idea to run `./gradlew sanityCheck` before submitting your change because this will help catch code style issues.
    
    > **NOTE:** Do **NOT** run `gradle build` on the local development environment,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 01:39:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            def conf = conf("conf")
            when:
            def dep = conf.getTaskDependencyFromProjectDependency(false, "bar") as TasksFromDependentProjects
            then:
            dep.taskName == "bar"
            dep.configurationName == "conf"
        }
    
        def "mutations are prohibited after resolution"() {
            def conf = conf("conf")
            resolver.resolveGraph(conf) >> graphResolved()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    One can discover what tasks are available by running `gradle tasks`. You can then find out the type of a given task by running `gradle help --task <taskName>`, as demonstrated here:
    
    [source,text]
    ----
    ❯ ./gradlew help --task test
    ...
    Type
         Test (org.gradle.api.tasks.testing.Test)
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top