Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Nov 18th, 2018 74 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top