Search Gradle plugins

Using the plugins DSL:

plugins {
  id("net.innospire.typescript-generator") version "1.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.innospire:typescript-generator:1.9.0")
  }
}

apply(plugin = "net.innospire.typescript-generator")

Using the plugins DSL:

plugins {
  id "net.innospire.typescript-generator" version "1.9.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.innospire:typescript-generator:1.9.0"
  }
}

apply plugin: "net.innospire.typescript-generator"

Learn how to apply plugins to subprojects