diff --git a/klang/gradle-plugin/src/main/kotlin/io/ygdrasil/KlangPlugin.kt b/klang/gradle-plugin/src/main/kotlin/io/ygdrasil/KlangPlugin.kt index 0a963344..f5ed6c51 100644 --- a/klang/gradle-plugin/src/main/kotlin/io/ygdrasil/KlangPlugin.kt +++ b/klang/gradle-plugin/src/main/kotlin/io/ygdrasil/KlangPlugin.kt @@ -8,6 +8,7 @@ import klang.domain.NativeStructure import klang.domain.NativeTypeAlias import klang.generator.generateKotlinFile import klang.parser.json.parseAstJson +import klang.parser.libclang.parseFile import klang.tools.generateAstFromDocker import org.gradle.api.Plugin import org.gradle.api.Project @@ -134,7 +135,9 @@ class KlangPlugin : Plugin { parseAstJson(jsonFile.absolutePath) } ParsingMethod.Libclang -> { - TODO() + parseFile( + fileToParse + ) } }.also { it.resolveTypes() }