fix(build): force protobuf version to prevent Java-7 issue (PR #1255)

Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
This commit is contained in:
Muntashir Al-Islam
2021-09-30 18:53:28 +06:00
committed by GitHub
parent ea0795c8a9
commit 67e6b647a2
+4
View File
@@ -7,6 +7,10 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.8'
implementation 'com.android.tools.build:aapt2-proto:4.2.1-7147631'
constraints {
// Force protobuf version to prevent Java-7 issue
implementation 'com.google.protobuf:protobuf-java:3.11.4'
}
testImplementation 'org.apache.commons:commons-lang3:3.12.0'