gradle-jflex-plugin

A Gradle plugin for the JFlex scanner generator

License

License

Categories

Categories

Gradle Build Tools JFlex Compiler-compiler
GroupId

GroupId

co.tomlee.gradle.plugins
ArtifactId

ArtifactId

gradle-jflex-plugin
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

gradle-jflex-plugin
A Gradle plugin for the JFlex scanner generator
Project URL

Project URL

https://github.com/thomaslee/gradle-jflex-plugin
Source Code Management

Source Code Management

https://github.com/thomaslee/gradle-jflex-plugin

Download gradle-jflex-plugin

How to add to project

<!-- https://jarcasting.com/artifacts/co.tomlee.gradle.plugins/gradle-jflex-plugin/ -->
<dependency>
    <groupId>co.tomlee.gradle.plugins</groupId>
    <artifactId>gradle-jflex-plugin</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/co.tomlee.gradle.plugins/gradle-jflex-plugin/
implementation 'co.tomlee.gradle.plugins:gradle-jflex-plugin:0.0.2'
// https://jarcasting.com/artifacts/co.tomlee.gradle.plugins/gradle-jflex-plugin/
implementation ("co.tomlee.gradle.plugins:gradle-jflex-plugin:0.0.2")
'co.tomlee.gradle.plugins:gradle-jflex-plugin:jar:0.0.2'
<dependency org="co.tomlee.gradle.plugins" name="gradle-jflex-plugin" rev="0.0.2">
  <artifact name="gradle-jflex-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='co.tomlee.gradle.plugins', module='gradle-jflex-plugin', version='0.0.2')
)
libraryDependencies += "co.tomlee.gradle.plugins" % "gradle-jflex-plugin" % "0.0.2"
[co.tomlee.gradle.plugins/gradle-jflex-plugin "0.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
de.jflex : jflex jar 1.6.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

gradle-jflex-plugin

Status

Beta

Overview

A Gradle plugin for JFlex, a scanner generator.

Usage

First, install the plugin to your local repository using gradle install. (I'll get this puppy up on Maven Central sometime soon.)

Then:

apply plugin: 'java'
apply plugin: 'jflex'

buildscript {
    repositories {
        mavenLocal()
    }

    dependencies {
        classpath 'co.tomlee.gradle.plugins:gradle-jflex-plugin:0.0.1'
    }
}

dependencies {
    jflex 'de.jflex:jflex:1.6.0'
}

Once everything's wired up, Gradle will look for your JFlex specs in src/main/jflex/*.l.

License

Apache 2.0

Support

Please log defects and feature requests using the issue tracker on github.

About

gradle-jflex-plugin was written by Tom Lee.

Follow me on Twitter or LinkedIn.

Versions

Version
0.0.2
0.0.1