Horatio Thomas
11/02/2025, 9:11 AMturansky
11/02/2025, 11:49 AMAdam S
11/03/2025, 9:46 AM:my-models
2. Create another subproject for generating TS. This will depend on :my-models and KxsTsGen and have a fun main() for running the generation. 
You could also search on GitHub to see how other projects do it:
I see the icpc project just created a specific task, maybe it'd help:
https://github.com/icpc/live-v3/blob/2835fc0d503267a724dd1d721cc788a94db6b1d0/build-logic/src/main/kotlin/org/icpclive/gradle/tasks/TsInterfaceGeneratorTask.kt