Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 617 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 617 Bytes

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'
        }
    }
}