Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for sourcePath (0.27 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/RecompilationSpec.java

        }
    
        public void addSourcePath(String sourcePath) {
            sourcePaths.add(sourcePath);
        }
    
        public void addSourcePaths(Set<String> sourcePath) {
            sourcePaths.addAll(sourcePath);
        }
    
        public Collection<String> getSourcePaths() {
            return Collections.unmodifiableCollection(sourcePaths);
        }
    
        public boolean isBuildNeeded() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/core-api/src/main/java/org/gradle/api/file/CopySourceSpec.java

         *
         * @param sourcePaths Paths to source files for the copy
         */
        CopySourceSpec from(Object... sourcePaths);
    
        /**
         * Specifies the source files or directories for a copy and creates a child {@code CopySourceSpec}. The given source
         * path is evaluated as per {@link org.gradle.api.Project#files(Object...)} .
         *
         * @param sourcePath Path to source for the copy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 06 22:26:55 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/WbResource.java

        }
    
        public String getDeployPath() {
            return deployPath;
        }
    
        public void setDeployPath(String deployPath) {
            this.deployPath = deployPath;
        }
    
        public String getSourcePath() {
            return sourcePath;
        }
    
        public void setSourcePath(String sourcePath) {
            this.sourcePath = sourcePath;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/reflect/GradleStandardJavaFileManager.java

                // There is currently a requirement in the JDK9 javac implementation
                // that when javac is invoked with an explicitly empty sourcepath
                // (i.e. {@code --sourcepath ""}), it won't allow you to compile a java 9
                // module. However, we really want to explicitly set an empty sourcepath
                // so that we don't implicitly pull in unrequested sourcefiles which
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourcePathProviderTest.kt

                }
            }
    
            val sourcePath = sourcePathFor(
                classPath = ClassPath.EMPTY,
                scriptFile = root.resolve("init.gradle.kts"),
                projectDir = folder("project"),
                gradleHomeDir = folder("gradle"),
                sourceDistributionResolver = mock()
            ).asFiles
    
            assertThat(
                sourcePath,
                hasItems(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 17:35:41 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/MinimalJavaCompileOptions.java

        private File previousCompilationDataFile;
    
        public MinimalJavaCompileOptions(final CompileOptions compileOptions) {
            FileCollection sourcepath = compileOptions.getSourcepath();
            this.sourcepath = sourcepath == null ? null : ImmutableList.copyOf(sourcepath.getFiles());
            this.compilerArgs = Lists.newArrayList(compileOptions.getAllCompilerArgs());
            this.encoding = compileOptions.getEncoding();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r60/KotlinDslScriptsModelCrossVersionSpec.groovy

            then:
            spec.scripts.values().each { script ->
                assert singleRequestModels[script].classPath == multiRequestsModels[script].classPath
                assert singleRequestModels[script].sourcePath == multiRequestsModels[script].sourcePath
                assert singleRequestModels[script].implicitImports == multiRequestsModels[script].implicitImports
            }
        }
    
        def "multi-scripts model is dehydrated over the wire"() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 16 19:10:39 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/MappedPosition.java

        public String toString() {
            final Optional<String> sourcePath = this.sourcePath();
            final Optional<Integer> line = this.line();
            final Optional<Integer> column = this.pointer();
    
            if (sourcePath.isPresent() && line.isPresent() && column.isPresent()) {
                return sourcePath.get() + ":" + line.get() + ":" + (column.get() + 1);
            } else if (sourcePath.isPresent() && line.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilder.java

            Collection<File> sourcepath = compileOptions.getSourcepath();
            boolean emptySourcePath = sourcepath == null || sourcepath.isEmpty();
    
            if (compilerArgs.contains("--module-source-path")) {
                if (!emptySourcePath) {
                    LOGGER.warn("You specified both --module-source-path and a sourcepath. These options are mutually exclusive. Ignoring sourcepath.");
                }
                return;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:08 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AbstractLibrary.java

            super(library.getPath());
            this.library = library;
        }
    
        public FileReference getSourcePath() {
            return sourcePath;
        }
    
        public void setSourcePath(FileReference sourcePath) {
            this.sourcePath = sourcePath;
        }
    
        public FileReference getJavadocPath() {
            return javadocPath;
        }
    
        public void setJavadocPath(FileReference path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top