Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Gradle plugin for processing Avro files for Gora. Deprecated: Now merged into Apache Gora Git : https://github.com/apache/gora

License

Notifications You must be signed in to change notification settings

Dictanova/gora-gradle-plugin

Repository files navigation

gora-gradle-plugin

Gradle plugin for processing Avro files for Gora

Build Status Build Status

Overview

Generate Apache Gora java types from an Apache Avro descriptor (.avsc files). This plugin will delegate to GoraCompiler all schema read and file generation.

Configuration

Configure the plugin in your project as follows:

buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath "com.dictanova.gora.gradle:gora-gradle-plugin:0.6"
  }
}

apply plugin: "com.dictanova.gora"

compileGora.source = 'src/main/resources/'
compileGora.destinationDir = file("src/main/java")

dependencies {
    compileGora
    compile "org.apache.gora:gora-core:0.4"
}

Usage

Avro schema descriptors (.avsc) have to in the following directory :

src/main/resources/

You can generate Gora java types using compileGora directly or using build task:

$ gradle compileGora
$ gradle build

Build

If you want to build this plugin from a Git checkout, please use Gradle Wrapper :

./gradlew clean build install

About

Gradle plugin for processing Avro files for Gora. Deprecated: Now merged into Apache Gora Git : https://github.com/apache/gora

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •