Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for EclipseProject (0.31 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r65/CustomResultHandler.java

    import org.gradle.tooling.IntermediateResultHandler;
    import org.gradle.tooling.model.eclipse.EclipseProject;
    
    public class CustomResultHandler implements IntermediateResultHandler<EclipseProject> {
    
        public EclipseProject result;
    
        @Override
        public void onComplete(EclipseProject result) {
            this.result = result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1000 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/converters/EclipseProjectHasAutoBuildMixin.java

     */
    
    package org.gradle.tooling.internal.consumer.converters;
    
    import org.gradle.tooling.model.eclipse.EclipseProject;
    
    /**
     * This is used for compatibility with clients &lt;5.4
     */
    public class EclipseProjectHasAutoBuildMixin {
    
        public EclipseProjectHasAutoBuildMixin(EclipseProject eclipseProject) {
        }
    
        public boolean hasAutoBuildTasks() {
            return false;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 997 bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

               }
    
               project(':sub') {
                   apply plugin: 'java'
               }
            """
        }
    
        def "Has no access rules"() {
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseProjectDependency projectDependency = project.projectDependencies.find { it.path.contains 'sub' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/eclipse/EclipseModelBuilderTest.groovy

            project.eclipse.project.natures = ['nature.a', 'nature.b']
            def modelBuilder = createEclipseModelBuilder()
    
            when:
            def eclipseModel = modelBuilder.buildAll("org.gradle.tooling.model.eclipse.EclipseProject", project)
    
            then:
            eclipseModel.projectNatures.collect { it.id } == ['nature.a', 'nature.b']
        }
    
        def "nature list independent from project hierarchy"() {
            setup:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/CompositeProjectSubstitutionCrossVersionSpec.groovy

        }
    
        private static def taskExecuted(ByteArrayOutputStream out, String taskPath) {
            out.toString().contains("> Task $taskPath")
        }
    
        Collection<EclipseProject> collectProjects(EclipseProject parent) {
            return parent.children.collect { collectProjects(it) }.flatten() + [parent]
        }
    
        EclipseWorkspace eclipseWorkspace(List<EclipseWorkspaceProject> projects) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m8/ToolingApiEclipseModelCrossVersionSpec.groovy

    gradle.projectsEvaluated {
        ${mavenCentralRepository()}
    }
    dependencies {
        ${implementationConfiguration} 'commons-lang:commons-lang:2.5'
    }
    """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpath[0].file.name == 'commons-lang-2.5.jar'
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/api/FileContentMerger.java

    import org.gradle.util.internal.ConfigureUtil;
    
    /**
     * Models the generation/parsing/merging capabilities.
     * <p>
     * For examples see docs for {@link org.gradle.plugins.ide.eclipse.model.EclipseProject}
     * or {@link org.gradle.plugins.ide.idea.model.IdeaProject} and others.
     */
    public class FileContentMerger {
    
        private MutableActionSet whenMerged = new MutableActionSet();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelCrossVersionSpec.groovy

                           }
                       }
                   }
                }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            def attributes = project.classpath[0].classpathAttributes
    
            then:
            attributes.find { it.name == 'customkey' && it.value == 'whenMerged'}
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApEclipseModelNaturesAndBuildCommandsCrossVersionSpec.groovy

            given:
            plugins.each { plugin -> buildFile << "apply plugin: '${plugin}'\n" }
            settingsFile << "rootProject.name = 'root'"
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
            def natures = rootProject.projectNatures.collect{ it.id }
    
            then:
            if (plugins.contains('ear') && targetVersion < GradleVersion.version("8.0") ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/EclipseModelWithFlatRepoCrossVersionSpec.groovy

    repositories {
    	flatDir dirs: file("${repoDir.toURI()}")
    }
    
    dependencies {
    	${implementationConfiguration} "some:lib:1.0"
    }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpath[0].file != null
            project.classpath[0].source == null
            project.classpath[0].javadoc == null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top