Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 739 Bytes

File metadata and controls

26 lines (22 loc) · 739 Bytes

Usage

  1. To your buildSrc build.gradle, add:

    compile "software.amazon:toolkits.telemetry.generator:1.0"

    to the dependencies as well as

    maven { url "https://jitpack.io" }

    to the repositories section (this is needed for json schema validation)

  2. In the project build.gradle, add

    task generateTelemetry(type: GenerateTelemetry) {
       inputFiles = [<array of IDE specific files>]
       outputDirectory = file(<output directory>)
    }
    
  3. Finally, make the build depend on it:

     compileJava.dependsOn(generateTelemetry)

To add additional telemetry files, add file("/path/to/file) entries into the inputFiles array.