Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for contentRoot (0.23 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r22/Idea13ModelCrossVersionSpec.groovy

            when:
            IdeaProject project = withConnection { connection -> connection.getModel(IdeaProject.class) }
            def contentRoot = project.children[0].contentRoots[0]
    
            then:
            def generatedSourceDirectories = contentRoot.sourceDirectories.findAll { it.generated }
            def generatedTestDirectories = contentRoot.testDirectories.findAll { it.generated }
            generatedSourceDirectories.collect { it.directory } == [file('foo')]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/idea/IsolatedIdeaModuleInternal.java

            this.javaTargetCompatibility = javaTargetCompatibility;
        }
    
        public DefaultIdeaContentRoot getContentRoot() {
            return contentRoot;
        }
    
        public void setContentRoot(DefaultIdeaContentRoot contentRoot) {
            this.contentRoot = contentRoot;
        }
    
        public String getJdkName() {
            return jdkName;
        }
    
        public void setJdkName(String jdkName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/fixtures/IdeaModuleFixture.groovy

        IdeaContentRoot getContent() {
            def contentRoot = iml.component.content
            def sourceFolders = contentRoot.sourceFolder.collect {
                new SourceFolder(url: it.@url, isTestSource: it.@isTestSource)
            }
            def excludeFolders = contentRoot.excludeFolder.collect {
                new ExcludeFolder(url: it.@url)
            }
            return new IdeaContentRoot(rootUrl: contentRoot.@url, sources: sourceFolders, excludes: excludeFolders)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java

        /**
         * The content root directory of the module. <p> For example see docs for {@link IdeaModule}
         */
        public File getContentRoot() {
            return contentRoot;
        }
    
        public void setContentRoot(File contentRoot) {
            this.contentRoot = contentRoot;
        }
    
        /**
         * The directories containing the test sources.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 09:58:16 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/IdeaModelBuilder.java

            IdeaModule ideaModule,
            DefaultIdeaProject ideaProject,
            DefaultGradleProject rootGradleProject,
            boolean offlineDependencyResolution
        ) {
            DefaultIdeaContentRoot contentRoot = IdeaModuleBuilderSupport.buildContentRoot(ideaModule);
            Project project = ideaModule.getProject();
    
            DefaultIdeaModule defaultIdeaModule = new DefaultIdeaModule()
                .setName(ideaModule.getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/dsl/org.gradle.plugins.ide.idea.model.IdeaModule.xml

                </tr>
                <tr>
                    <td>downloadJavadoc</td>
                    <td><literal>false</literal></td>
                    <td/>
                </tr>
                <tr>
                    <td>contentRoot</td>
                    <td><literal>project.projectDir</literal></td>
                    <td/>
                </tr>
                <tr>
                    <td>testSourceDirs</td>
                    <td><literal>[]</literal></td>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

    configurations {
      provided
      compileClasspath.extendsFrom(provided)
    }
    
    idea {
        pathVariables CUSTOM_VARIABLE: file('customModuleContentRoot').parentFile
    
        module {
            name = 'foo'
            contentRoot = file('customModuleContentRoot')
    
            sourceDirs += file('additionalCustomSources')
            resourceDirs += file('additionalCustomResources')
            resourceDirs += file('additionalCustomGeneratedResources')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  8. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/IdeaPlugin.java

                @Override
                public Set<File> call() {
                    return sourceDirs;
                }
            });
            conventionMapping.map("contentRoot", new Callable<File>() {
                @Override
                public File call() {
                    return project.getProjectDir();
                }
            });
            Set<File> testSourceDirs = new LinkedHashSet<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  9. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/internal/DefaultEarWebModule.java

        private String contextRoot;
    
        public DefaultEarWebModule() {
        }
    
        public DefaultEarWebModule(String path, String contextRoot) {
            super(path);
            this.contextRoot = contextRoot;
        }
    
        @Override
        public String getContextRoot() {
            return contextRoot;
        }
    
        @Override
        public void setContextRoot(String contextRoot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 14:55:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/idea/DefaultIdeaModule.java

            this.name = name;
            return this;
        }
    
        public Collection<DefaultIdeaContentRoot> getContentRoots() {
            return contentRoots;
        }
    
        public DefaultIdeaModule setContentRoots(List<DefaultIdeaContentRoot> contentRoots) {
            this.contentRoots = contentRoots;
            return this;
        }
    
        public DefaultIdeaProject getParent() {
            return parent;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.4K bytes
    - Viewed (0)
Back to top