- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for sourceRoot (0.49 sec)
-
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 Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 3.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
} @Override public void addCompileSourceRoot(Project project, ProjectScope scope, Path sourceRoot) { MavenProject prj = getMavenProject(nonNull(project, "project")); String root = nonNull(sourceRoot, "sourceRoot").toAbsolutePath().toString(); if (nonNull(scope, "scope") == ProjectScope.MAIN) { prj.addCompileSourceRoot(root);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* if not already present. * * @param project the project * @param scope the scope, i.e. usually main or test * @param sourceRoot the new source root */ void addCompileSourceRoot(@Nonnull Project project, @Nonnull ProjectScope scope, @Nonnull Path sourceRoot); /** * Get the list of resources for the given project and scope * * @param project the project
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 24 11:52:48 UTC 2024 - 7.6K bytes - Viewed (0) -
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 Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
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 Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 11 17:15:16 UTC 2024 - 6.5K 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 Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 4K bytes - Viewed (0)