Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 106 for projectFor (0.29 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestUtil.groovy

            return builder.build()
        }
    
        static ProjectInternal createChildProject(ProjectInternal parent, String name, File projectDir = null) {
            return ProjectBuilder
                .builder()
                .withName(name)
                .withParent(parent)
                .withProjectDir(projectDir)
                .build()
        }
    
        static groovy.lang.Script createScript(String code) {
            new GroovyShell().parse(code)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy

            ex.message.contains('--foreground')
        }
    
        def "can overwrite project dir via build arguments"() {
            given:
            file('otherDir').createDir()
            file('otherDir/build.gradle') << "assert projectDir.name.endsWith('otherDir')"
            file('otherDir/settings.gradle') << ''
    
            when:
            withConnection {
                it.newBuild().withArguments('-p', 'otherDir').run()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/DefaultProject.java

            this.classLoaderScope = selfClassLoaderScope;
            this.baseClassLoaderScope = baseClassLoaderScope;
            this.rootProject = parent != null ? parent.getRootProject() : this;
            this.projectDir = projectDir;
            this.buildFile = buildFile;
            this.parent = parent;
            this.name = name;
            this.state = new ProjectStateInternal();
            this.buildScriptSource = buildScriptSource;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        ): Boolean {
            if (typeArguments.isEmpty()) return false
            if (!visited.add(this)) return true
            for (projection in typeArguments) {
                // E.g., Test : Comparable<Test>
                val type = (projection as? ConeKotlinTypeProjection)?.type ?: continue
                // E.g., Comparable<Test>
                val newType = substituteOrNull(type) ?: continue
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsIntegrationTest.groovy

                assert buildPath == ':'
                assert rootProject.projectDir == rootDir.absolutePath
                assert rootProject.buildFile == rootDir.file("build.gradle").absolutePath
            }
            with(projectsIdentified[1].details) {
                assert buildPath == childBuild
                assert rootProject.projectDir == childDir.absolutePath
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/ConfigurationCacheStartParameter.kt

            get() = startParameter.isConfigurationCacheRecreateCache
    
        /**
         * See [StartParameter.getProjectDir].
         */
        val projectDirectory: File?
            get() = startParameter.projectDir
    
        val currentDirectory: File
            get() = startParameter.currentDir
    
        val settingsDirectory: File
            get() = buildLayout.settingsDir
    
        @Suppress("DEPRECATION")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

                    id('java-library')
                }
                allprojects {
                    println("project name = " + name)
                    println("project path = " + path)
                    println("project projectDir = " + projectDir)
                    println("project rootDir = " + rootDir)
                    println("project toString = " + it)
                    it.name
                    project.name
                    project.path
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            given:
            goodCode()
    
            and:
            buildFile << """
                dependencies {
                    file("\$projectDir/lib/").mkdirs()
                    implementation files((1..999).collect {
                        createJarFile("\$projectDir/lib/library\${it}.jar")
                    })
                }
    
                def createJarFile(String libraryPath) {
                    def fos
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                    dependencies {
                        compile project(':util')
                    }
                }
            """ << withFileLibDependency("lib1.jar", projectDir)
            projectDir.createDirs("lib", "util", "app")
            projectDir.file("settings.gradle") << """
                rootProject.name = 'root'
                include 'lib'
                include 'util'
                include 'app'
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskIntegrationTest.groovy

    include('p1')
    include('p1:p11')
    includeBuild('another')"""
            file("p1").mkdir()
            file('another/settings.gradle') << ""
    
            when:
            projectDir("p1")
            run "projects"
    
            then:
            outputDoesNotContain "another"
        }
    
        def "included builds are only rendered if there are some"() {
            when:
            run "projects"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:32 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top