Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 509 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 509 Bytes

Example: How to use the Wirespec Gradle Plugin

Wirespec Gradle Plugin Configuration

wirespec {
    input = "$projectDir/src/main/wirespec"
    kotlin {
        packageName = "community.flock.wirespec.generated"
        output = "$buildDir/generated/community/flock/wirespec/generated"
    }
    typescript {
        output = "$projectDir/src/main/typescript/generated"
    }
}

tasks.build {
    dependsOn("wirespec")
}

According to the actual build.gradle.kts file.