Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 46 for BuildLayout (0.19 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/StartParameterConverterTest.groovy

            def buildLayout = buildLayoutConverter.convert(initialProperties, parsedCommandLine, null) {
                it.gradleUserHomeDir = userHome // don't use the default
            }
            def properties = propertiesConverter.convert(initialProperties, buildLayout)
    
            return converter.convert(parsedCommandLine, buildLayout, properties, new StartParameterInternal())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/StartParameterConverter.java

            buildOptionsConverter.configure(parser);
        }
    
        public StartParameterInternal convert(ParsedCommandLine parsedCommandLine, BuildLayoutResult buildLayout, AllProperties properties, StartParameterInternal startParameter) throws CommandLineArgumentException {
            buildLayout.applyTo(startParameter);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/service_injection.adoc

    ====
    
    The `MyProjectLayoutTask` task uses a `ProjectLayout` instance, which is injected into the task's constructor using the `@Inject` annotation.
    
    [[buildlayout]]
    == 3. `BuildLayout`
    
    link:{groovyDslPath}/org.gradle.api.file.BuildLayout.html[`BuildLayout`] is a service that provides access to the root and settings directory in a Settings plugin or a Settings script, it is analogous to `ProjectLayout`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LauncherServices.java

                DirectorySnapshotterStatistics.Collector directorySnapshotterStatisticsCollector,
                BuildOperationRunner buildOperationRunner,
                BuildLayout buildLayout,
                ExceptionAnalyser exceptionAnalyser,
                List<ProblemReporter> problemReporters,
                BuildLoggerFactory buildLoggerFactory,
                InternalOptions options,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 13:01:53 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

    import org.gradle.api.internal.StartParameterInternal
    import org.gradle.api.logging.LogLevel
    import org.gradle.internal.cc.impl.initialization.ConfigurationCacheStartParameter
    import org.gradle.initialization.layout.BuildLayout
    import org.gradle.internal.buildoption.DefaultInternalOptions
    import org.gradle.internal.buildoption.Option
    import org.gradle.internal.buildtree.BuildModelParameters
    import org.gradle.internal.buildtree.RunTasksRequirements
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderStartParameterConverter.java

                    );
                }
            }
            return requests;
        }
    
        public StartParameterInternal toStartParameter(ProviderOperationParameters parameters, BuildLayoutResult buildLayout, AllProperties properties) {
            // Important that this is constructed on the client so that it has the right gradleHomeDir and other state internally
            StartParameterInternal startParameter = new StartParameterInternal();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/converter/LayoutToPropertiesConverter.java

            BuildLayout layout = buildLayoutFactory.getLayoutFor(layoutResult.toLayoutConfiguration());
            maybeConfigureFrom(new File(layout.getRootDirectory(), Project.GRADLE_PROPERTIES), result);
        }
    
        private void configureFromDaemonJVMProperties(BuildLayoutResult layoutResult, Map<String, String> result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/DefaultCommandLineActionFactory.java

                    // Calculate build layout, for loading properties and other logging configuration
                    buildLayout = buildLayoutConverter.convert(initialProperties, parsedCommandLine, null);
    
                    // Read *.properties files
                    AllProperties properties = layoutToPropertiesConverter.convert(initialProperties, buildLayout);
    
                    // Calculate the logging configuration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ProviderConnection.java

                    params.buildLayout.getGradleUserHomeDir(),
                    GradleVersion.current().getVersion(),
                    reportableJavaHomeForBuild(params),
                    params.daemonParams.getEffectiveJvmArgs());
            }
    
            StartParameterInternal startParameter = new ProviderStartParameterConverter().toStartParameter(providerParameters, params.buildLayout, params.properties);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/configuration/BuildLayoutResult.java

    import java.io.File;
    
    /**
     * Immutable build layout parameters, calculated from the command-line options and environment.
     */
    public interface BuildLayoutResult {
        void applyTo(BuildLayoutParameters buildLayout);
    
        void applyTo(StartParameterInternal startParameter);
    
        BuildLayoutConfiguration toLayoutConfiguration();
    
        File getGradleInstallationHomeDir();
    
        File getGradleUserHomeDir();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top