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.11.0 (latest)

0.11.0

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "se.jensim.kt2ts"

Learn how to apply plugins to subprojects