Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for prepareToExecute (0.36 sec)

  1. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeDeclarationIntegrationTest.groovy

        MavenHttpPluginRepository mavenHttpRepo = new MavenHttpPluginRepository(mavenRepo)
    
        def 'can declare and configure a custom software type from included build'() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
            file("settings.gradle.dcl") << pluginsFromIncludedBuild
    
            file("build.gradle.dcl") << declarativeScriptThatConfiguresOnlyTestSoftwareType
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 19 16:59:01 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeConventionIntegrationTest.groovy

        def "can configure build-level conventions for property objects in a software type (#testCase)"() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
            file("settings.gradle.dcl") << getDeclarativeSettingsScriptThatSetsConventions(convention)
    
            file("build.gradle.dcl") << getDeclarativeScriptThatConfiguresOnlyTestSoftwareType(buildConfiguration)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 12:50:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

                version = "1.0"
            """
        }
    
        void prepareToExecute() {
            buildFile << generateManagedBuildScript()
            buildFile << getPluginDescriptors(pluginIds)
            projectDir.file('settings.gradle').write("")
        }
    
        void publishTo(GradleExecuter executer, TestFile testFile, String buildScript = "") {
            prepareToExecute()
            buildFile << buildScript
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/AbstractSourceDependencyIntegrationTest.groovy

                    apply plugin: 'java'
                    group = 'org.test'
                    version = '1.0'
                }
            """, "org.gradle.test.MyPlugin", "MyPlugin"
            pluginBuilder.prepareToExecute()
    
            settingsFile << """
                includeBuild("plugin")
            """
    
            mappingFor(repo, "org.test:dep", 'plugins { id("org.gradle.test.MyPlugin") }')
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIncludedBuildIntegrationTest.groovy

            def pluginBuilder = new PluginBuilder(file("included"))
            pluginBuilder.addSettingsPlugin("println 'test-settings-plugin applied to ' + settings.gradle.publicBuildPath.buildPath")
            pluginBuilder.prepareToExecute()
    
            when:
            succeeds("help")
            then:
            outputContains("test-settings-plugin applied to :buildSrc")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 13 02:04:28 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

            !schema.dataClassesByFqName.isEmpty()
        }
    
        def 'schema contains custom software type from included build'() {
            given:
            withSoftwareTypePlugins().prepareToExecute()
    
            file("settings.gradle.dcl") << ecosystemPluginInSettings
    
            file("build.gradle.dcl") << declarativeScriptThatConfiguresOnlyTestSoftwareType
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/NestedSourceDependencyIntegrationTest.groovy

                settings.gradle.allprojects {
                    println "Hello from root build's plugin"
                }
            """, "org.gradle.test.MyPlugin", "MyPlugin"
    
            pluginBuilder.prepareToExecute()
    
            settingsFile << """
                includeBuild("plugin")
            """
    
            vcsMapping('org.test:first', first)
            // root build applies a plugin to second
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  8. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/internal/GitVcsIntegrationTest.groovy

                    apply plugin: 'java-library'
                    group = 'org.test'
                    version = '1.0'
                }
            """, "org.gradle.test.MyPlugin", "MyPlugin"
            pluginBuilder.prepareToExecute()
    
            settingsFile << """
                includeBuild("plugin")
                sourceControl {
                    vcsMappings {
                        withModule("org.test:dep") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 16.6K bytes
    - Viewed (0)
Back to top