summaryrefslogtreecommitdiffhomepage
path: root/build.gradle
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-11-20 20:03:12 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2022-06-10 22:22:06 +0200
commit295e5d7d682903ac440ca1e7ca1f27f017494c35 (patch)
treeca39ae372aa0583a5d244acfce6744f9fd669a60 /build.gradle
parent13ab1cfe6726184ce30ebe60d2157776cc3b260d (diff)
tunnel: add gRPC over unix domain socket to the go backend
With gRPC it will be easier to extend the go backend API. In this commit the Version function is reimplemented in gRPC.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
1 files changed, 12 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 8615fb43..f7a864e5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -12,15 +12,27 @@ buildscript {
datastoreVersion = '1.0.0'
desugarVersion = '1.1.5'
fragmentVersion = '1.4.1'
+ grpcVersion = '1.42.1'
+ gradleVersion = '4.0.1'
jsr305Version = '3.0.2'
junitVersion = '4.13.2'
lifecycleRuntimeKtxVersion = '2.4.1'
materialComponentsVersion = '1.6.0'
preferenceVersion = '1.2.0'
+ protobufGradleVersion = '0.8.17'
+ protobufLiteVersion = '3.0.0'
+ protocVersion = '3.19.1'
zxingEmbeddedVersion = '4.3.0'
groupName = 'com.wireguard.android'
}
+
+ dependencies {
+ classpath "com.google.protobuf:protobuf-gradle-plugin:$protobufGradleVersion"
+ // gradle plugin 4.0.1 required for fixing bug:
+ // https://stackoverflow.com/questions/62168227/getting-source-and-destination-must-be-different-error-while-building-project/62223434#62223434
+ //classpath "com.android.tools.build:gradle:$gradleVersion"
+ }
}
plugins {