Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readCapabilities (0.13 sec)

  1. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

        val capabilitiesFile = repoRoot().file("gradle/dependency-management/capabilities.json").asFile
        val capabilities: List<CapabilitySpec> = readCapabilities(capabilitiesFile)
        capabilities.forEach {
            it.configure(dependencies.components, configurations)
        }
    }
    
    fun readCapabilities(source: File): List<CapabilitySpec> {
        JsonReader(source.reader(Charsets.UTF_8)).use { reader ->
            reader.isLenient = true
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top