se.jensim.kt2ts
Owner:
Jens Brimfors
Generate TypeScript Definitions from your existing code. In case you have your backend written in kotlin or java and you dont want to write your Angular type definitions yourself.
https://github.com/jensim/kt2ts-gradle-plugin
Sources: https://github.com/jensim/kt2ts-gradle-plugin
Version 0.11.0 (latest)
Created 21 May 2019.
Generate TypeScript Definitions from your existing code.
In case you have your backend written in kotlin or java and you dont want to write your Angular type definitions yourself.
https://github.com/jensim/kt2ts-gradle-plugin/blob/0.11.0/README.md
Add this plugin to your build using the plugins DSL:
plugins {
id("se.jensim.kt2ts") version "0.11.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts)
:dependencies { implementation("se.jensim.kt2ts:se.jensim.kt2ts.gradle.plugin:0.11.0") }
It can then be applied in the precompiled script plugin:plugins { id("se.jensim.kt2ts") }
-
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("se.jensim.kt2ts:se.jensim.kt2ts.gradle.plugin:0.11.0") } } apply(plugin = "se.jensim.kt2ts")
- Applying plugins to all subprojects .