Skip to content

Latest commit

 

History

History
46 lines (39 loc) · 998 Bytes

README.md

File metadata and controls

46 lines (39 loc) · 998 Bytes

Build Status

Candid Gradle Plugin

Enables candid-kt into Gradle pipeline

Build Configuration

// build.gradle.kts
buildscript {
    repositories {
        maven { setUrl("https://dl.bintray.com/hotkeytlt/maven") }
        maven { setUrl("https://jitpack.io") }
    }
}

plugins {
  id("com.github.seniorjoinu.candid") version "0.1-rc24"
}

repositories {
    maven { setUrl("https://dl.bintray.com/hotkeytlt/maven") }
    maven { setUrl("https://jitpack.io") }
}

candid {
    sourceSets {
        main {
            candid {
                srcDir("path to the did files")
            }
        }
    }
    genPackage = "package of the generated kotlin file"
}

Build

$ gradle generateCandid

More Information

$ gradle tasks
$ gradle help --task generateCandid