- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for sourceRoots (0.18 sec)
-
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 Oct 30 11:36:09 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K 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 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)