Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seniorjoinu/candid-gradle-plugin


https://github.com/seniorjoinu/candid-gradle-plugin

Last synced: about 6 hours ago
JSON representation

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/seniorjoinu/candid-kt-gradle-plugin.svg?branch=master)](https://travis-ci.org/seniorjoinu/candid-kt-gradle-plugin)

### Candid Gradle Plugin
Enables [candid-kt](https://github.com/seniorjoinu/candid-kt) into Gradle pipeline

#### Build Configuration
```kotlin
// 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
```