Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getInputStream (0.16 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt

        JarFile(jar, false).use { jarFile ->
            jarFile.entries().asSequence().filter {
                isGradlePluginPropertiesFile(it)
            }.map { pluginEntry ->
                val pluginProperties = jarFile.getInputStream(pluginEntry).use { Properties().apply { load(it) } }
                val id = pluginEntry.name.substringAfterLast("/").substringBeforeLast(".properties")
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            }
    
        private
        fun jarClassBytesIndexFor(jar: File): ClassBytesIndex = { classFilePath ->
            openJarFile(jar).run {
                getJarEntry(classFilePath)?.let { jarEntry ->
                    { getInputStream(jarEntry).use { jarInput -> jarInput.readBytes() } }
                }
            }
        }
    
        private
        fun directoryClassBytesIndexFor(dir: File): ClassBytesIndex = { classFilePath ->
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top