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

Sources: https://github.com/jensim/kt2ts-gradle-plugin

Version 0.7.8-rc2

0.7.8-rc2

Created 17 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.7.8-rc2/README.md

Using the plugins DSL:

plugins {
  id("se.jensim.kt2ts") version "0.7.8-rc2"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

plugins {
  id "se.jensim.kt2ts" version "0.7.8-rc2"
}

Using legacy plugin application:

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

apply plugin: "se.jensim.kt2ts"

Learn how to apply plugins to subprojects