File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
plugin/main/src/kotlinx/benchmark/gradle Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ abstract class NativeSourceGeneratorWorker : WorkAction<NativeSourceGeneratorWor
100
100
parameters.outputSourcesDir.deleteRecursively()
101
101
parameters.outputResourcesDir.deleteRecursively()
102
102
parameters.inputClassesDirs
103
- .filter { it.exists() && it.name.endsWith(KLIB_FILE_EXTENSION_WITH_DOT ) }
103
+ // expect either a packed .klib file or non-packed klib directory
104
+ .filter { it.exists() && it.name.endsWith(KLIB_FILE_EXTENSION_WITH_DOT ) || it.isDirectory && it.resolve(" default/manifest" ).isFile }
104
105
.forEach { lib ->
105
106
if (parameters.target.isEmpty())
106
107
throw Exception (" nativeTarget should be specified for API generator for native targets" )
You can’t perform that action at this time.
0 commit comments