Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 383 for buildScript (0.51 sec)

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

                    }
                }
            """
            buildScript "plugins { id '$PLUGIN_ID' }"
    
            then:
            verifyPluginApplied('2.0')
        }
    
        def "can override plugin version in settings script"() {
            when:
            buildScript "plugins { id '$PLUGIN_ID' version '2.0' }"
    
            then:
            verifyPluginApplied('2.0')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ModelRuleBindingFailureIntegrationTest extends AbstractIntegrationSpec {
    
        def "unbound rule by-type subject and inputs are reported"() {
            given:
            buildScript """
                class MyPlugin {
                    static class MyThing1 {}
                    static class MyThing2 {}
                    static class MyThing3 {}
    
                    static class Rules extends RuleSource {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy

            repo.module("", "test", "1.3-BUILD-SNAPSHOT").allowAll()
    
            server.start()
        }
    
        @Unroll("jars on buildscript classpath can change (loopNumber: #loopNumber)")
        def "jars on buildscript classpath can change"() {
            given:
            buildFile << '''
                buildscript {
                    repositories { flatDir { dirs 'repo' }}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:47 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildPluginDevelopmentIntegrationTest.groovy

            then:
            executed ":pluginDependencyA:jar", ":pluginBuild:jar", ":taskFromPluginBuild"
        }
    
        def "can develop a buildscript dependency that is also used by main build"() {
            given:
            buildA.buildFile << """
                buildscript {
                    dependencies {
                        classpath 'org.test:pluginDependencyA:1.0'
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ManagedModelMapIntegrationTest.groovy

    @UnsupportedWithConfigurationCache(because = "software model")
    class ManagedModelMapIntegrationTest extends AbstractIntegrationSpec {
    
        def "rule can create a map of model elements"() {
            when:
            buildScript '''
                @Managed
                interface Thing extends Named {
                  void setValue(String value)
                  String getValue()
                }
    
                @Managed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/PrecompiledPluginsCompileAvoidanceIntegrationTest.kt

     */
    
    package org.gradle.kotlin.dsl.compile
    
    import org.junit.Test
    
    
    class PrecompiledPluginsCompileAvoidanceIntegrationTest : AbstractCompileAvoidanceIntegrationTest() {
    
        @Test
        fun `avoids buildscript recompilation when task is configured in precompiled script plugin`() {
            val pluginId = "my-plugin"
            withPrecompiledScriptPluginInBuildSrc(
                pluginId,
                """
                    println("foo")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingSnapshotFromPluginRepositorySpec.groovy

                        url "${mavenRepo.uri}"
                    }
                }
              }
            """
        }
    
        def 'Can specify snapshot version'() {
            given:
            publishTestPlugin()
            buildScript """
              plugins {
                  id "org.example.plugin" version '1.0-SNAPSHOT'
              }
              plugins.withType(org.gradle.test.TestPlugin) {
                println "I'm here"
              }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 12:20:28 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGUpToDateCheckIntegrationTest.groovy

            '''.stripIndent()
        }
    
        @Issue('https://github.com/gradle/gradle/issues/4924')
        def 'test task is up-to-date when #property is changed because it should not impact output'() {
            given:
            buildScript """
                apply plugin: "java"
                ${mavenCentralRepository()}
                testing {
                    suites {
                        test {
                            useTestNG('${TestNGCoverage.NEWEST}')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r54/KotlinSettingsScriptModelCrossVersionSpec.groovy

            def settings = withSettings("""
                buildscript {
                    dependencies {
                        classpath(files("${normalizedPathOf(settingsDependency)}"))
                    }
                }
            """)
    
            and:
            def projectDependency = withEmptyJar("project-dependency.jar")
            file("build.gradle") << """
                buildscript {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/PolymorphicManagedTypeIntegrationTest.groovy

    class PolymorphicManagedTypeIntegrationTest extends AbstractIntegrationSpec {
    
        def "rule can provide a managed model element backed by an abstract class that implements interfaces"() {
            when:
            buildScript '''
                @Managed
                interface Named {
                    String getName()
                }
    
                @Managed
                abstract class Person implements Named {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.7K bytes
    - Viewed (0)
Back to top