Open xanderdunn opened 8 years ago
The README shows this:
scalabuff { sourceSets { proto { srcDir = 'src/proto' } } }
However, this will give the error:
> No such property: srcDir for class: com.github.rafaelbrandao.gradle.scalabuff.domain.ScalabuffSourceSet Possible solutions: srcDirs
So, correct it:
scalabuff { sourceSets { proto { srcDirs = 'src/proto' } } }
This will give the error:
A problem occurred evaluating root project 'odin-core'. > Cannot cast object 'src/proto' with class 'java.lang.String' to class 'java.util.Set'
How do I define a Java Set in a build.gradle file?
Try:
sourceSets { proto { srcDirs = ['src/proto'] } }
The README shows this:
However, this will give the error:
So, correct it:
This will give the error:
How do I define a Java Set in a build.gradle file?