Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.14 KB

README.md

File metadata and controls

46 lines (37 loc) · 1.14 KB

gradle-jcasgen-plugin

Gradle plugin for UIMA JCasGen (JCas Typesystem Generator)

Build Status

Overview

Generates a Apache UIMA type system from an XML descriptor. It launches the UIMA JCasGen tool (Jg) from a gradle build.

Configuration

You can configure the plugin in your project as follows:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.dictanova.jcasgen.gradle:gradle-jcasgen-plugin:0.5"
  }
}

apply plugin: "com.dictanova.jcasgen"

Usage

UIMA type system XML descriptor(s) files have to be located in :

src/main/typesystem

You can generate a UIMA type system by using the generateTypeSystem task directly or by using the build task:

$ gradle generateTypeSystem
$ gradle build

Build

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

./gradlew clean build install