Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. buildscript {
  2. repositories {
  3. mavenCentral()
  4. maven {
  5. url "https://plugins.gradle.org/m2/"
  6. }
  7. }
  8. dependencies {
  9. classpath "com.google.protobuf:protobuf-gradle-plugin:0.8.6"
  10. classpath "net.ltgt.gradle:gradle-apt-plugin:0.18"
  11. classpath "gradle.plugin.com.github.sherter.google-java-format:google-java-format-gradle-plugin:0.7.1"
  12. }
  13. }
  14.  
  15. plugins {
  16. id 'java'
  17. }
  18. apply plugin: 'com.google.protobuf'
  19.  
  20. group 'br.ufpr.cin.if711'
  21. version '1.0'
  22.  
  23. sourceCompatibility = 1.8
  24.  
  25. repositories {
  26. mavenCentral()
  27. }
  28.  
  29. protobuf {
  30. protoc {
  31. artifact = "com.google.protobuf:protoc:3.6.0"
  32. }
  33. }
  34.  
  35. dependencies {
  36. implementation group: 'org.projectlombok', name: 'lombok', version: '1.18.2'
  37. annotationProcessor 'org.projectlombok:lombok:1.18.2'
  38.  
  39. compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.6.0'
  40.  
  41. }
  42.  
  43.  
  44. sourceSets {
  45. main {
  46. proto {
  47. srcDirs {
  48. file("protocols/proto")
  49. }
  50. }
  51. }
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement