Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 263 for rootProject (0.17 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentPluginIntegrationTest.groovy

                    }
                }
    '''
    
            then:
            succeeds "checkModel"
        }
    
        def "reports failure for invalid component type method"() {
            given:
            settingsFile << """rootProject.name = 'custom-component'"""
            buildFile << """
                class MySamplePlugin extends RuleSource {
                    @ComponentType
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

                buildRegistry.visitBuilds(build -> {
                    if (build.isImportableBuild() && build.isProjectsLoaded()) {
                        ProjectState rootProject = build.getProjects().getRootProject();
                        Path rootProjectIdentityPath = rootProject.getIdentityPath();
                        Path buildIdentityPath = rootProjectIdentityPath.getParent();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/initialization/Settings.java

         * Includes a build at the specified path to the composite build.
         * @param rootProject The path to the root project directory for the build.
         *
         * @since 3.1
         */
        void includeBuild(Object rootProject);
    
        /**
         * Includes a build at the specified path to the composite build, with the supplied configuration.
         * @param rootProject The path to the root project directory for the build.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 08:36:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

            succeeds 'help'
        }
    
    
        def "other blocks can follow the pluginManagement block"() {
            given:
            settingsFile << """
                pluginManagement {}
                rootProject.name = 'rumpelstiltskin'
            """
    
            expect:
            succeeds 'help'
        }
    
    
        def "pluginManagement block is not supported in ProjectScripts"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/compile/BuildScriptCompileAvoidanceIntegrationTest.kt

        fun `avoids buildscript recompilation on included build JAR rebuild`() {
    
            withDefaultSettingsIn("build-logic")
                .appendText("""rootProject.name = "build-logic"""")
            withKotlinDslPluginIn("build-logic")
            withFile("build-logic/src/main/kotlin/my-plugin.gradle.kts", "")
            val className = kotlinClassSourceFile("build-logic", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:42 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedArtifactsApiIntegrationTest.groovy

    project(':a') {
        dependencies {
            compile project(':b')
            compile rootProject.files('lib.jar')
            compile files('lib.jar')
        }
        artifacts {
            compile file('one/lib.jar')
            compile file('two/lib.jar')
            compile rootProject.file('lib.jar')
        }
    }
    project(':b') {
        dependencies {
            compile rootProject.files('lib.jar')
            compile files('lib.jar')
        }
        artifacts {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 22:29:19 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr1_gradle_init.adoc

    [.multi-language-sample]
    =====
    .settings.gradle.kts
    [source, kotlin]
    ----
    rootProject.name = "authoring-tutorial"
    include("app")
    ----
    =====
    [.multi-language-sample]
    =====
    .settings.gradle
    [source, groovy]
    ----
    rootProject.name = 'authoring-tutorial'
    include('app')
    ----
    =====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 22:50:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioMultiProjectIntegrationTest.groovy

    
    class VisualStudioMultiProjectIntegrationTest extends AbstractVisualStudioIntegrationSpec {
        def app = new CppHelloWorldApp()
    
        def setup() {
            settingsFile << """
                rootProject.name = 'app'
            """
            buildFile << """
                allprojects {
                    apply plugin: 'visual-studio'
                }
            """
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

            for (EclipseWorkspaceProject externalProject : externalProjects) {
                reservedProjectNames.add(externalProject.getName());
            }
    
            return reservedProjectNames;
        }
    
        private List<EclipseWorkspaceProject> gatherExternalProjects(ProjectInternal rootProject, List<EclipseWorkspaceProject> projects) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/CredentialsProviderIntegrationTest.groovy

    import org.hamcrest.CoreMatchers
    import spock.lang.Issue
    
    class CredentialsProviderIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            settingsFile << "rootProject.name='credentials-provider-test'"
            buildFile """
                abstract class TaskWithCredentials extends DefaultTask {
    
                    @Input
                    abstract Property<Credentials> getCredentials()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top