Skip to content

Commit

Permalink
added kotlin app bindings to schema/bind
Browse files Browse the repository at this point in the history
  • Loading branch information
krisbitney committed Aug 28, 2023
1 parent e3f3597 commit 4d65742
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/schema/bind/src/bindings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export function getGenerateBindingFn(
return WrapBindgen.getGenerateBindingFn(
"https://github.com/polywrap/wrap-abi-bindgen/tree/nk/ts-app-codegen/implementations/app-typescript"
);
case "app-kt":
return WrapBindgen.getGenerateBindingFn(
"https://github.com/polywrap/wrap-abi-bindgen/tree/nk/ts-app-codegen/implementations/app-kotlin"
);
default:
throw Error(`Error: Language binding unsupported - ${bindLanguage}`);
}
Expand Down
1 change: 1 addition & 0 deletions packages/schema/bind/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const bindLanguage = {
"plugin-kt": "plugin-kt",
"plugin-swift": "plugin-swift",
"app-ts": "app-ts",
"app-kt": "app-kt",
};

export type BindLanguages = typeof bindLanguage;
Expand Down

0 comments on commit 4d65742

Please sign in to comment.