Skip to content

Latest commit

 

History

History

gradle-spaghetti-typescript-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Spaghetti TypeScript Gradle Plugin

For an example on how to use the plugin, see the Spaghetti Gradle example here. Gradle 2.0 or newer is required to use the plugin.

Basic usage

buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath "com.prezi.spaghetti:gradle-spaghetti-typescript-plugin:<version>"
    }
}

apply plugin: "spaghetti-typescript"

The plugin configures the following things on the project:

  • Applies the Spaghetti plugin
  • Applies the TypeScript plugin
  • Sets Spaghetti's target language to typescript
  • Configures the TypeScript plugin to include generated Spaghetti sources when compiling artifacts