Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for downloadSources (0.63 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseClasspath.java

         * <p>
         * See {@link EclipseClasspath} for an example.
         */
        public boolean isDownloadSources() {
            return downloadSources;
        }
    
        public void setDownloadSources(boolean downloadSources) {
            this.downloadSources = downloadSources;
        }
    
        /**
         * Whether to download and associate Javadoc Jars with the dependency Jars. Defaults to false.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java

         */
        public boolean isDownloadSources() {
            return downloadSources;
        }
    
        public void setDownloadSources(boolean downloadSources) {
            this.downloadSources = downloadSources;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 09:58:16 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

                apply plugin: "eclipse"
    
                dependencies {
                    implementation gradleApi()
                }
    
                idea.module.downloadSources = false
                eclipse.classpath.downloadSources = false
                """
            when:
            succeeds ideTask
    
            then:
            assertSourcesDirectoryDoesNotExistInDistribution()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/resolver/IdeDependencySet.java

            private List<Class<? extends Artifact>> getAuxiliaryArtifactTypes(IdeDependencyVisitor visitor) {
                List<Class<? extends Artifact>> types = Lists.newArrayListWithCapacity(2);
                if (visitor.downloadSources()) {
                    types.add(SourcesArtifact.class);
                }
                if (visitor.downloadJavaDoc()) {
                    types.add(JavadocArtifact.class);
                }
                return types;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  5. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest.groovy

        @Test
        @ToBeFixedForConfigurationCache
        void dslAllowsShortForms() {
            runEclipseTask '''
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    eclipse.classpath.downloadSources = false
    assert eclipse.classpath.downloadSources == false
    
    eclipse.classpath.file.withXml {}
    eclipse.classpath {
        file.withXml {}
    }
    eclipse {
        classpath.file.withXml {}
    }
    '''
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy

            excludeDirs += file('excludeMePlease')
    
            scopes.PROVIDED.plus += [ configurations.compileClasspath ]
            downloadJavadoc = true
            downloadSources = false
    
            inheritOutputDirs = false
            outputDir = file('muchBetterOutputDir')
            testOutputDir = file('muchBetterTestOutputDir')
    
            jdkName = '1.6'
    
            iml {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  7. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/internal/EclipseDependenciesCreator.java

            }
    
            @Override
            public boolean isOffline() {
                return classpath.isProjectDependenciesOnly();
            }
    
            @Override
            public boolean downloadSources() {
                return classpath.isDownloadSources();
            }
    
            @Override
            public boolean downloadJavaDoc() {
                return classpath.isDownloadJavadoc();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy

        sourceSets = []
    
        plusConfigurations << configurations.someConfig
    
        containers 'someFriendlyContainer', 'andYetAnotherContainer'
    
        defaultOutputDir = file('build-eclipse')
    
        downloadSources = false
        downloadJavadoc = true
    
        file {
          withXml { it.asNode().appendNode('message', 'be cool') }
        }
      }
    }
    """
    
            //then
            def vars = classpath.vars
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/internal/IdeaDependenciesProvider.java

                this.scope = scope;
            }
    
            @Override
            public boolean isOffline() {
                return ideaModule.isOffline();
            }
    
            @Override
            public boolean downloadSources() {
                return ideaModule.isDownloadSources();
            }
    
            @Override
            public boolean downloadJavaDoc() {
                return ideaModule.isDownloadJavadoc();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top