Please note:. While this question specifically raises the Gradle Thrift plugin , I think it's just a general Gradle question about whether some sort of battle-weary war veteran Gradle could help me.
I am new to Apache Thrift and only quasi-familiar with Gradle (2.4.x). I am trying to get the Gradle Thrift plugin to work, and I am facing a few problems, which are probably just spaces in my knowledge of Gradle.
Here is my sample project: thrifty
If you clone it and run ./gradlew compileThrift , you will see that it does exactly what Gradle Thrift README says. It generates a source in build/generated-sources/thrift/* .
I would like to compile and build this source. For the Java source that it generates, I would like to create a JAR library ... so what is the best way to do this? . Should I copy, say, build/generated-sources/thrift/gen-java/* to src/main/java , and then run build ?
smeeb source share