- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for sourceRoots (0.09 sec)
-
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) -
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) -
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) -
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: StringRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 3.8K bytes - Viewed (0) -
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) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
version = "2.0" } """ ) withDirectory("v1/src/main").v1() withDirectory("v2/src/main").v2() val sourceRoots = if (File(withDirectory("v2/src/main"), "java").exists()) { "v2/src/main/java" } else { "v2/src/main/kotlin" }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 18K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* {@linkplain org.apache.maven.api.model.Model Maven project descriptor}. * For each property, the default value is either empty or documented in the project descriptor. */ public interface SourceRoot { /** * {@return the root directory where the sources are stored} * The path is relative to the <abbr>POM</abbr> file. * * <h4>Default implementation</h4>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 14.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Nonnull @Override public Collection<SourceRoot> getSourceRoots(@Nonnull Project project) { MavenProject prj = getMavenProject(requireNonNull(project, "project" + " cannot be null")); return prj.getSourceRoots(); } @Nonnull @Override public Stream<SourceRoot> getEnabledSourceRoots(@Nonnull Project project, ProjectScope scope, Language language) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Dec 17 16:17:01 UTC 2025 - 10.9K bytes - Viewed (0) -
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(); } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Oct 26 17:22:14 UTC 2025 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jan 30 23:29:13 UTC 2025 - 12K bytes - Viewed (0)