Skip to content

tglaeser/candid-gradle-plugin

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%