Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for sourcesPath (0.17 sec)

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

                .flatMap(classToCompile -> sourceFileClassNameConverter.getRelativeSourcePaths(classToCompile).stream())
                .filter(sourcePath -> sourcePath.endsWith(".java"))
                .flatMap(sourcePath -> sourceFileClassNameConverter.getClassNames(sourcePath).stream())
                .collect(Collectors.toSet());
            if (!classesWithJavaSource.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseSourcesAndJavadocJarsIntegrationTest.groovy

            def lib = classpath.lib(jar)
    
            // Eclipse only retains the first source/javadoc file
            if (!sources.isEmpty()) {
                assert lib.sourcePath != null: "no sources attached"
                assert lib.sourcePath.endsWith("/${sources.get(0)}")
            }
            if (!javadoc.isEmpty()) {
                assert lib.javadocLocation != null: "no javadoc attached"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl/src/main/kotlin/gradlebuild/kotlindsl/generator/codegen/FunctionSinceRepository.kt

        private
        fun javaProjectBuilderFor(loader: ClassLoader, sourcePath: Set<File>): JavaProjectBuilder =
            JavaProjectBuilder(OrderedClassLibraryBuilder().apply {
                appendClassLoader(loader)
            }).apply {
                sourcePath.filter { it.extension == "java" }
                    .forEach { sourceFile ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseCustomSourceAndJavadocLocationIntegrationTest.groovy

                                guava.sourcePath = classpath.fileReference('$customSourcePath')
                            }
                        }
                    }
                }
            """
    
            when:
            run "eclipse"
    
            then:
            def cp = getClasspath()
            cp.lib('guava-18.0.jar').sourcePath.contains('guava-custom-source.jar')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathFixture.groovy

            }
    
            void assertHasSource(File jar) {
                assert entry.@sourcepath == jar.path.replace(File.separator, '/')
            }
    
            String getSourcePath() {
                entry.@sourcepath
            }
    
            void assertHasSource(String jar) {
                assert entry.@sourcepath == jar
            }
    
            void assertHasCachedSource(String group, String module, String version) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/resources/org/gradle/plugins/ide/eclipse/EclipseIntegrationTest/canCreateAndDeleteMetaData/expectedFiles/webAppWithVarsClasspath.xml

    	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
    	<classpathentry sourcepath="GRADLE_USER_HOME/@CACHE@/commons-lang/commons-lang/2.5/@SHA1@/commons-lang-2.5-sources.jar" kind="var" path="GRADLE_USER_HOME/@CACHE@/commons-lang/commons-lang/2.5/@SHA1@/commons-lang-2.5.jar">
    		<attributes>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitJupiterOptionsIntegrationTest.groovy

        }
    
        @Override
        void writeSources(TestFile sourcePath) {
            sourcePath.file("com/example/IncludedTest.java") << """
    package com.example;
    import org.junit.jupiter.api.Test;
    
    public class IncludedTest {
        @Test
        public void testOK() {
        }
    }
    """
            sourcePath.file("com/example/ExcludedTest.java") << """
    package com.example;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

                    }
                }
            """
    
            expect:
            succeeds "compileJava"
        }
    
        def "handles -sourcepath being specified"() {
            goodCode()
            buildFile << """
                tasks.withType(JavaCompile) {
                    options.sourcepath = project.layout.files()
                }
            """
    
            expect:
            succeeds "compileJava"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

        }
    
        def "ignores empty directories within the file collection of the sourcepath compiler option"() {
            given:
            def sourcePath = 'src/main/ignoredJava'
            buildFile << """
                plugins { id 'java' }
                compileJava.options.sourcepath = files('$sourcePath')
            """
    
            file("${sourcePath}/org/gradle/test/MyOptionalTest.java").text = """
                package org.gradle.test;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/tooling/builders/r75/KotlinSettingsScriptModelCrossVersionSpec.groovy

    @TargetGradleVersion(">=7.5")
    class KotlinSettingsScriptModelCrossVersionSpec extends AbstractKotlinScriptModelCrossVersionTest {
    
        @LeaksFileHandles("Kotlin compiler daemon on buildSrc jar")
        def "sourcePath does not include buildSrc source roots"() {
    
            given:
            withKotlinBuildSrc()
            def settings = withDefaultSettings() << """
                include(":sub")
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top