Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 383 for buildScript (0.16 sec)

  1. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingWithPluginManagementSpec.groovy

                    }
                }
              }
            """
        }
    
        def 'setting different version in resolutionStrategy will affect plugin choice'() {
            given:
            publishTestPlugin()
            buildScript """
              plugins {
                  id "org.example.plugin" version '1000'
              }
              plugins.withType(org.gradle.test.TestPlugin) {
                println "I'm here"
              }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/ResolverCoordinatorTest.kt

            }
        }
    
        @Test
        fun `given an environment with a 'getScriptSectionTokens' entry, when buildscript changes, it will try to retrieve the model again`() {
    
            val env1 = environmentWithGetScriptSectionTokensReturning("buildscript" to sequenceOf("foo"))
            val env2 = environmentWithGetScriptSectionTokensReturning("buildscript" to sequenceOf("bar"))
    
            val action1 = resolverActionFor(env1, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RootComponentResolutionIntegrationTest.groovy

            expect:
            succeeds("resolve")
        }
    
        def "buildscript configuration can select other buildscript configurations"() {
            buildFile << """
                buildscript {
                    configurations {
                        conf {
                            canBeConsumed = false
                            attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 23 22:33:17 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseProjectIntegrationTest.groovy

        def setup(){
            settingsFile.text = "rootProject.name = 'root'"
        }
    
        @ToBeFixedForConfigurationCache
        void allowsConfiguringEclipseProject() {
            given:
            buildScript """
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    eclipse {
      project {
        name = 'someBetterName'
        comment = 'a test project'
    
        referencedProjects = ['some referenced project'] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

        def 'stale output file is removed after input source directory is emptied.'() {
            def taskWithSources = new TaskWithSources()
            taskWithSources.createInputs()
            buildScript(taskWithSources.buildScript)
    
            when:
            succeeds(taskWithSources.taskPath)
    
            then:
            taskWithSources.outputFile.exists()
            executedAndNotSkipped(taskWithSources.taskPath)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocRelocationIntegrationTest.groovy

            }
            classes.baseline()
            buildScript(classes.buildScript())
        }
    
        @Override
        protected void moveFilesAround() {
            Files.move(file("src/main/scala").toPath(), file("src/main/new-scala").toPath())
            classes.sourceDir = 'src/main/new-scala'
            buildScript(classes.buildScript())
            // Move scala library dependency around on disk
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 23:46:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerArgumentsIntegrationTest.groovy

    package org.gradle.testkit.runner
    
    class GradleRunnerArgumentsIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def "can execute build without specifying any arguments"() {
            given:
            buildScript """
                help {
                    doLast {
                        file('out.txt').text = "help"
                    }
                }
            """
    
            when:
            runner().build()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinLibSources.kt

        val resolvedDependencies = hashSetOf<ComponentIdentifier>()
        for (buildscript in scriptHandlers.asReversed()) {
            val unresolvedDependencies = classpathDependenciesOf(buildscript).filter { it !in resolvedDependencies }
            if (unresolvedDependencies.isNotEmpty()) {
                sourcePath += resolveSourcesUsing(buildscript.dependencies) {
                    forComponents(unresolvedDependencies)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 00:40:48 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

    class ModelDslRuleInputDetectionIntegrationSpec extends AbstractIntegrationSpec {
    
        def "can reference input using dollar method expression - #syntax"() {
            when:
            buildScript """
              @Managed
              interface Thing {
                String getValue(); void setValue(String str)
              }
    
              model {
                thing(Thing) {
                    value = "foo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromMultipleCustomPluginRepositorySpec.groovy

            given:
            publishPlugins(MAVEN)
            requireOwnGradleUserHomeDir()
            buildScript """
                //this simulates pluginA having a dependency on the hello world plugin
                buildscript {
                    dependencies {
                        classpath "org.gradle:gradle-hello-world-plugin:0.2"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top