Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for buildScript (0.14 sec)

  1. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/viewing_debugging_dependencies.adoc

    NOTE: Graph of dependencies <<tutorial_using_tasks.adoc#sec:build_script_external_dependencies, declared in the `buildscript` `classpath` configuration>> can be rendered using <<command_line_interface.adoc#sec:listing_project_dependencies, task `buildEnvironment`>>.
    
    === Output Annotations
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/RuleTaskBridgingIntegrationTest.groovy

            """
    
            expect:
            succeeds('help')
        }
    
        def "only tasks of specified type are created when tasks with type are declared as dependency"() {
            when:
            buildScript """
                ${ruleBasedTasks()}
    
                model {
                  tasks {
                    create("climbTask", ClimbTask)
                    create("jumpTask", BrokenTask)
                  }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DependencyManagementBuildScopeServices.java

        }
    
        /**
         * Execution engine for usage above Gradle scope
         *
         * Currently used for running artifact transforms in buildscript blocks, compiling Kotlin scripts etc.
         */
        @Provides
        ExecutionEngine createExecutionEngine(
            BuildInvocationScopeId buildInvocationScopeId,
            BuildOperationRunner buildOperationRunner,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ====
    include::sample[dir="snippets/providers/propertyConventionCallsites/kotlin",files="build.gradle.kts[tags=convention-callsites-from-buildscript]"]
    include::sample[dir="snippets/providers/propertyConventionCallsites/groovy",files="build.gradle[tags=convention-callsites-from-buildscript]"]
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

            String pluginsBlock = usePluginsDSL ? """
                plugins {
                    id 'com.acme.typed-attributes' version '$version'
                } """ : """
                buildscript {
                    repositories {
                        maven { url "${mavenRepo.uri}" }
                    }
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

        }
    
        def "restores task fields whose value is instance of plugin specific version of Guava #type"() {
            buildFile << """
                import ${type.name}
    
                buildscript {
                    ${mavenCentralRepository()}
                    dependencies {
                        classpath 'com.google.guava:guava:28.0-jre'
                    }
                }
    
                class SomeBean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

        val appliedPlugins: List<String>
    )
    
    
    private
    fun ProjectInternal.applyPlugins(pluginRequests: PluginRequests) {
        serviceOf<PluginRequestApplicator>().applyPlugins(
            pluginRequests,
            buildscript,
            pluginManager,
            classLoaderScope
        )
    }
    
    
    private
    fun <T> withCapturedOutputOnError(block: () -> T, onError: (ErrorWithCapturedOutput) -> T): T {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

        }
    
        void 'finalizer tasks are not run when finalized task does not run due to unrelated task failure and not using --continue'() {
            given:
            buildScript("""
                task a {
                }
                task b {
                    finalizedBy a
                    doLast {
                        throw new RuntimeException("broken")
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

            'build.gradle.kts'
        }
    
        /**
         * Sets (replacing) the contents of the build.gradle file.
         *
         * To append, use #buildFile(String).
         */
        protected TestFile buildScript(@GroovyBuildScriptLanguage String script) {
            buildFile.text = script
            buildFile
        }
    
        /**
         * Sets (replacing) the contents of the settings.gradle file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc

    However, it will use a single shared classloader for all units of work.
    This means that each unit of work can affect one another through static class state.
    It also means that every unit of work uses the same version of libraries on the buildscript classpath.
    If you wanted the user to be able to configure the task to run with a different (but compatible) version of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 13:41:08 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top