- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for installWorkaround (0.07 seconds)
-
build-logic/src/main/kotlin/BndBuildAction.kt
/** * BND is incompatible with Kotlin/Multiplatform because it assumes the JVM source set's name is * 'main'. Work around this by creating a 'main' source set that forwards to 'jvmMain'. */ fun installWorkaround(project: org.gradle.api.Project): org.gradle.api.tasks.SourceSet { val sourceSets = project.extensions .getByType(org.gradle.api.plugins.JavaPluginExtension::class.java) .sourceSetsCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 8.9K bytes - Click Count (0) -
build-logic/src/main/kotlin/Osgi.kt
// The forwarding SourceSet also needs to fake out some task names to prevent them from // being // registered twice. // // https://github.com/bndtools/bnd/issues/6590 val mainSourceSet = BndBuildAction.installWorkaround(project) val osgiApi = configurations.create("osgiApi") dependencies { osgiApi(kotlinOsgi) } tasks.named<GradleJar>("jvmJar").configure { val bundleExtension = extensions.create(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 3.5K bytes - Click Count (0)