Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 179 for buildScript (0.2 sec)

  1. 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)
  2. 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)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/21644")
        def "removes all classes for a recompiled source from output to stash dir for Spock tests when super class is changed"() {
            given:
            buildScript """
                plugins {
                    id 'groovy'
                    id 'java-library'
                }
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. 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)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         */
        GradleExecuter usingProjectDirectory(File projectDir);
    
        /**
         * Uses the given build script
         */
        @Deprecated
        GradleExecuter usingBuildScript(File buildScript);
    
        /**
         * Sets the user's home dir to use when running the build. Implementations are not 100% accurate.
         */
        GradleExecuter withUserHomeDir(File userHomeDir);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K 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