kshchepanovskyi / protostuff-gradle-plugin

Protostuff Plugin for Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

protostuff-gradle-plugin

Protostuff Plugin for Gradle

Usage

Add to your build.properties

apply plugin: 'io.protostuff.compiler'

buildscript {
    repositories {
        mavenLocal()
        mavenCentral()
    }
    dependencies {
        classpath 'io.protostuff:protostuff-gradle-plugin:1.0.1-SNAPSHOT'
    }
}

Then you can configure your proto modules

protostuff {
    modules {
        foo {
            source = file('src/main/resources/foo.proto')
            outputDir = file('src/main/java')
            output = 'java_bean'
        }
    }
}

About

Protostuff Plugin for Gradle

License:Apache License 2.0


Languages

Language:Groovy 100.0%