Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 40 for getBuildFile (0.26 sec)

  1. subprojects/core-api/src/main/java/org/gradle/initialization/BuildLayoutParameters.java

            return gradleInstallationHomeDir;
        }
    
        @Nullable
        public File getSettingsFile() {
            return settingsFile;
        }
    
        @Nullable
        public File getBuildFile() {
            return buildFile;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 26 20:57:11 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-state/src/main/java/org/gradle/internal/buildprocess/execution/StartParamsValidatingActionExecutor.java

            StartParameter startParameter = action.getStartParameter();
            @SuppressWarnings("deprecation")
            File customBuildFile = DeprecationLogger.whileDisabled(startParameter::getBuildFile);
            if (customBuildFile != null) {
                validateIsFileAndExists(customBuildFile, "build file");
            }
            if (startParameter.getProjectDir() != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectFactory.java

            // Need to wrap resolution of the build file to associate the build file with the correct project
            File buildFile = scriptResolution.resolveScriptsForProject(owner.getIdentityPath(), projectDescriptor::getBuildFile);
            TextResource resource = textFileResourceLoader.loadFile("build file", buildFile);
            ScriptSource source = new TextResourceScriptSource(resource);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jul 06 10:41:06 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/BuildStateFactory.java

                Actions.doNothing(),
                publicBuildPath,
                true
            );
            @SuppressWarnings("deprecation")
            File customBuildFile = DeprecationLogger.whileDisabled(buildSrcStartParameter::getBuildFile);
            assert customBuildFile == null;
            return buildDefinition;
        }
    
        private static StartParameterInternal buildSrcStartParameterFor(File buildSrcDir, StartParameter containingBuildParameters) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilder.java

                .setProjectDirectory(project.getProjectDir())
                .setBuildTreePath(projectIdentityPath)
                .setChildren(children);
    
            gradleProject.getBuildScript().setSourceFile(project.getBuildFile());
    
            for (DefaultGradleProject child : children) {
                child.setParent(gradleProject);
            }
    
            if (realizeTasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/initialization/BuildFileProjectSpecTest.groovy

                getAllProjects() >> (projects as Set)
            }
            return registry
        }
    
        private ProjectIdentifier project(File buildFile) {
            return Stub(ProjectIdentifier) {
                getBuildFile() >> buildFile
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/initialization/ProjectDescriptor.java

         */
        void setBuildFileName(String name);
    
        /**
         * Returns the build file for this project.
         *
         * @return The build file. Never returns null.
         */
        File getBuildFile();
    
        /**
         * Returns the parent of this project, if any. Returns null if this project is the root project.
         *
         * @return The parent, or null if this is the root project.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/AbstractCommandLineOrderTaskIntegrationTest.groovy

                return build.buildDir.createDir(projectDirRelativePath)
            }
    
            String getProjectDirRelativePath() {
                return path.replaceAll(':', '/')
            }
    
            TestFile getBuildFile() {
                return projectDir.file('build.gradle')
            }
    
            void writeFiles() {
                projectDir.file('build.gradle') << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/initialization/DefaultProjectDescriptor.java

            return buildFile().getName();
        }
    
        @Override
        public void setBuildFileName(String name) {
            this.buildFileName = name;
        }
    
        @Override
        public File getBuildFile() {
            return FileUtils.normalize(buildFile());
        }
    
        private File buildFile() {
            if (buildFileName != null) {
                return new File(getProjectDir(), buildFileName);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/plugin/PluginBuilder.groovy

        String packageName = "org.gradle.test"
    
        final Map<String, String> pluginIds = [:]
    
        PluginBuilder(TestFile projectDir) {
            this.projectDir = projectDir
        }
    
        TestFile getBuildFile() {
            file("build.gradle")
        }
    
        TestFile file(String path) {
            projectDir.file(path)
        }
    
        TestFile groovy(String path) {
            file("src/main/groovy/${sourceFilePath(path)}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top