Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 124 for projectDir (0.29 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/build/KotlinDslTestProjectInitiation.groovy

            ] as ProjectSourceRoots[]
        }
    
        ProjectSourceRoots withMainSourceSetJavaIn(String projectDir) {
            return new ProjectSourceRoots(file(projectDir), ["main"], ["java"])
        }
    
        ProjectSourceRoots withMainSourceSetJavaKotlinIn(String projectDir) {
            return new ProjectSourceRoots(file(projectDir), ["main"], ["java", "kotlin"])
        }
    
        TestFile getBuildFile() {
            file(defaultBuildFileName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/ProjectBuilderTest.groovy

            when:
            def project = ProjectBuilder.builder().build()
    
            then:
            project instanceof DefaultProject
            project.name == 'test'
            project.path == ':'
            project.projectDir.parentFile != null
            project.buildFile == project.file("build.gradle")
            project.gradle != null
            project.gradle.rootProject == project
            project.gradle.gradleHomeDir == project.file('gradleHome')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/JavaTestProject.groovy

            }
            builder.addBuildMutator(this.&abiChangeBuildMutator)
        }
    
        private BuildMutator abiChangeBuildMutator(InvocationSettings invocationSettings) {
            File fileToChange = new File(invocationSettings.projectDir, generator.config.fileToChangeByScenario['assemble'])
            return (generator.config.language == Language.GROOVY) ?
                new ApplyAbiChangeToGroovySourceFileMutator(fileToChange) :
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 05:01:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

    @TargetGradleVersion(">=5.0")
    class ToolingApiIdeaModelCrossVersionSpec extends ToolingApiSpecification {
    
        def "provides source dir information"() {
    
            buildFile.text = "apply plugin: 'java'"
    
            projectDir.create {
                src {
                    main {
                        java {}
                        resources {}
                    }
                    test {
                        java {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TestKitIntegrationTest.kt

                    @JvmField
                    val temporaryFolder = TemporaryFolder()
    
                    @Test
                    fun `test extension can be configured`() {
                        val projectDir = temporaryFolder.root
                        projectDir.toPath()
                            .resolve("build.gradle.kts")
                            .createFile()
                            .appendText(""${'"'}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 10:30:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaFirstUsePerformanceTest.groovy

            }
            runner.addBuildMutator { invocationSettings ->
                new ClearProjectCacheMutator(invocationSettings.projectDir, AbstractCleanupMutator.CleanupSchedule.BUILD)
            }
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelInterpolator.java

         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
         * @param projectDir The project directory, may be {@code null} if the model does not belong to a local project but
         *            to some artifact's metadata.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/declarativedsl/DeclarativeDslFirstUsePerformanceTest.groovy

            }
            runner.addBuildMutator { invocationSettings ->
                new ClearProjectCacheMutator(invocationSettings.projectDir, AbstractCleanupMutator.CleanupSchedule.BUILD)
            }
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 11 07:05:12 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

            createDirs("a", "b", "a/a", "b/b")
            settingsFile << "include 'a', 'b', 'a:a', 'b:b'"
    
            buildFile << """
                subprojects {
                    task thing
                    projectDir.mkdirs()
                }
                """
    
            when:
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":b:thing", ":a:a:thing", ":b:b:thing")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top