Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sourceRoots (0.45 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            }
    
        private
        fun <T : Any?> withParsedKotlinSource(sourceRoots: List<File>, block: (List<KtFile>) -> T) =
            Disposer.newDisposable().use {
                parseKotlinFiles(sourceRoots, emptyList()).let(block)
            }
    
        private
        fun Disposable.parseKotlinFiles(sourceRoots: List<File>, compilationClasspath: List<File>): List<KtFile> {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 16 08:22:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

        private final SourceRoot originalSourceRoot;
        private final ProjectScope scope;
        private final MavenProject project;
    
        ConnectedResource(SourceRoot sourceRoot, ProjectScope scope, MavenProject project) {
            super(org.apache.maven.api.model.Resource.newBuilder()
                    .directory(sourceRoot.directory().toString())
                    .includes(sourceRoot.includes())
                    .excludes(sourceRoot.excludes())
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

        object Params {
            const val sourceRoots = "sourceRoots"
            const val sourceCompilationClasspath = "sourceCompilationClasspath"
        }
    
        @Suppress("unchecked_cast")
        override fun execute(context: ViolationCheckContext) {
            (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor(
                param(Params.sourceRoots),
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/BinaryCompatibilityHelper.groovy

                        addSetupRule(BinaryCompatibilityRepositorySetupRule, [
                            (BinaryCompatibilityRepositorySetupRule.Params.sourceRoots): sourceRoots.collect { it.absolutePath } as Set,
                            (BinaryCompatibilityRepositorySetupRule.Params.sourceCompilationClasspath): newClasspath.collect { it.absolutePath } as Set
                        ])
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

            member.jApiClass.let { declaringClass ->
                sources.sourceFileAndSourceRootFor(declaringClass.sourceFilePath).let { (sourceFile, sourceRoot) ->
                    if (declaringClass.isKotlin) ApiSourceFile.Kotlin(sourceFile, sourceRoot)
                    else ApiSourceFile.Java(sourceFile, sourceRoot)
                }
            }
    
        private
        val JApiClass.sourceFilePath: String
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

         */
        fun sourceFileAndSourceRootFor(sourceFilePath: String): Pair<File, File> =
            sourceRoots.asSequence()
                .map { it.resolve(sourceFilePath) to it }
                .firstOrNull { it.first.isFile }
                ?: error("Source file '$sourceFilePath' not found, searched in source roots:\n  - ${sourceRoots.joinToString("\n  - ")}")
    
        private
        val KtFile.normalizedPath: String?
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Apr 28 14:56:52 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

    public class SourceRootTest implements SourceRoot {
        private ProjectScope scope;
    
        private Language language;
    
        private String moduleName;
    
        @Override
        public ProjectScope scope() {
            return (scope != null) ? scope : SourceRoot.super.scope();
        }
    
        @Override
        public Language language() {
            return (language != null) ? language : SourceRoot.super.language();
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Oct 26 17:22:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top