Search Gradle plugins

se.jensim.kt2ts

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

Version 0.8.1

Created 19 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.8.1/README.md

Using the plugins DSL:

plugins {
  id "se.jensim.kt2ts" version "0.8.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "se.jensim.kt2ts:kt2ts-plugin:0.8.1"
  }
}

apply plugin: "se.jensim.kt2ts"

Using the plugins DSL:

plugins {
  id("se.jensim.kt2ts") version "0.8.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("se.jensim.kt2ts:kt2ts-plugin:0.8.1")
  }
}

apply(plugin = "se.jensim.kt2ts")

Learn how to apply plugins to subprojects