Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for openRepositoryFor (0.09 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepositoryLifecycle.kt

        }
    
        @Suppress("unchecked_cast")
        override fun execute(context: ViolationCheckContext) {
            (context.userData as MutableMap<String, Any?>)[REPOSITORY_CONTEXT_KEY] = BinaryCompatibilityRepository.openRepositoryFor(
                param(Params.sourceRoots),
                param(Params.sourceCompilationClasspath)
            )
        }
    
        @Suppress("unchecked_cast")
        private
        fun param(name: String): List<File> =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/BinaryCompatibilityRepository.kt

     */
    class BinaryCompatibilityRepository internal constructor(
    
        private
        val sources: SourcesRepository
    
    ) : AutoCloseable {
    
        companion object {
    
            @JvmStatic
            fun openRepositoryFor(sourceRoots: List<File>, compilationClasspath: List<File>) =
                BinaryCompatibilityRepository(SourcesRepository(sourceRoots, compilationClasspath))
        }
    
        @VisibleForTesting
        fun emptyCaches() =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

            overrideAnnotation.fullyQualifiedName >> Override.name
            injectAnnotation.fullyQualifiedName >> Inject.name
    
            repository = BinaryCompatibilityRepository.openRepositoryFor([new File(tmp.absolutePath)], [])
        }
    
        def cleanup() {
            repository?.close()
        }
    
        def "each new #apiElement requires a @Incubating annotation"() {
            given:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
Back to top