Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for getGradle (0.28 sec)

  1. subprojects/core/src/main/java/org/gradle/configuration/project/LifecycleProjectEvaluator.java

                .metadata(BuildOperationCategory.CONFIGURE_PROJECT)
                .progressDisplayName(progressDisplayName)
                .details(new ConfigureProjectDetails(projectInternal.getProjectPath(), projectInternal.getGradle().getIdentityPath(), projectInternal.getRootDir()));
        }
    
        private static class ConfigureProjectDetails implements ConfigureProjectBuildOperationType.Details {
    
            private final Path buildPath;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

            """
            file('build.gradle') << """
                plugins { id 'counting-service-plugin' version '1.0' }
    
                def altServiceProvider = project.getGradle().getSharedServices().registerIfAbsent(
                    "counter",
                    CountingService.class,
                    (spec) -> {}
                );
    
                tasks.register('count', CountingTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildLifecycleController.java

            this.state = controllerFactory.newController(Describables.of("state of", targetBuild().getDisplayName()), State.Configure);
        }
    
        @Override
        public GradleInternal getGradle() {
            // Should not ignore other threads, however it is currently possible for this to be queried by tasks at execution time (that is, when another thread is
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/operations/notify/BuildOperationNotificationBridge.java

        private final BuildListener buildListener = new InternalBuildAdapter() {
            @Override
            public void beforeSettings(Settings settings) {
                if (settings.getGradle().getParent() == null) {
                    settings.getGradle().projectsLoaded((InternalAction<Gradle>) project -> {
                        State s = state;
                        if (s != null && s.notificationListener == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 04:43:28 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt

    private
    inline fun KotlinScriptClassPathProvider.safeCompilationClassPathOf(
        classLoaderScope: ClassLoaderScope,
        projectScript: Boolean,
        getGradle: () -> GradleInternal
    ): ClassPath = try {
        compilationClassPathOf(classLoaderScope)
    } catch (error: Exception) {
        getGradle().run {
            serviceOf<ClassPathModeExceptionCollector>().collect(error)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/eclipse/EclipsePlugin.java

        }
    
        private void configureRootProjectTask(Project project) {
            // The `eclipse` task in the root project should generate Eclipse projects for all Gradle projects
            if (project.getGradle().getParent() == null && project.getParent() == null) {
                getLifecycleTask().configure(new Action<Task>() {
                    @Override
                    public void execute(Task task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/invocation/Gradle.java

    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.Collection;
    
    /**
     * Represents an invocation of Gradle.
     *
     * <p>You can obtain a {@code Gradle} instance by calling {@link Project#getGradle()}.</p>
     */
    @HasInternalProtocol
    public interface Gradle extends PluginAware, ExtensionAware {
        /**
         * Returns the current Gradle version.
         *
         * @return The Gradle version. Never returns null.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/build/DefaultBuildWorkGraphController.java

                        tasks.add(node.getTask());
                    }
                }
                if (tasks.isEmpty()) {
                    return false;
                }
                controller.getGradle().getOwner().getProjects().withMutableStateOfAllProjects(() -> {
                    createPlan();
                    controller.prepareToScheduleTasks();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 31 05:15:28 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/EclipseModelBuilder.java

            Set<Project> allProjects = root.getAllprojects();
            for (Project p : allProjects) {
                p.getPluginManager().apply(EclipsePlugin.class);
            }
            for (IncludedBuildInternal reference : root.getGradle().includedBuilds()) {
                BuildState target = reference.getTarget();
                if (target instanceof IncludedBuildState) {
                    target.ensureProjectsConfigured();
    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/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

            final Set<Task> allTasksToRun = new LinkedHashSet<>();
            collectTasksForTestDescriptors(context, allTasksToRun);
            collectTasksForInternalJvmTestRequest(context.getGradle(), allTasksToRun);
            collectTestTasks(context, allTasksToRun);
            configureTestTasks(allTasksToRun);
            addEntryTasksTo(plan, allTasksToRun);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top