- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for pluginEntriesFrom (0.16 sec)
-
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntries.kt
import java.io.IOException import java.util.Properties import java.util.jar.JarEntry import java.util.jar.JarFile data class PluginEntry(val pluginId: String, val implementationClass: String) fun pluginEntriesFrom(jar: File): List<PluginEntry> = try { JarFile(jar, false).use { jarFile -> jarFile.entries().asSequence().filter { isGradlePluginPropertiesFile(it) }.map { pluginEntry ->
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) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt
private fun pluginExtensionsFrom(jars: Iterable<File>): Sequence<PluginExtension> = jars.asSequence().flatMap(::pluginExtensionsFrom) private fun pluginExtensionsFrom(file: File): Sequence<PluginExtension> = pluginEntriesFrom(file) .asSequence() .map { (id, implementationClass) -> val simpleId = id.substringAfter("org.gradle.") // One plugin extension for the simple id, e.g., "application"
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:07 GMT 2023 - 3.1K bytes - Viewed (0)