- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sourceRoots (0.08 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 Oct 30 11:36:09 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K 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 Oct 30 11:36:09 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/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 Oct 30 11:36:09 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 3.7K 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 Oct 30 11:36:09 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 4K 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 Oct 30 11:36:09 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 16.4K bytes - Viewed (0)