|
|
|
|
@ -89,7 +89,7 @@ static def VersionName() { |
|
|
|
|
process.waitFor() |
|
|
|
|
def versionName = process.text.trim() - "v" |
|
|
|
|
if (versionName.isEmpty()) { |
|
|
|
|
versionName = "1.0.0" |
|
|
|
|
versionName = "1.0.0" |
|
|
|
|
} |
|
|
|
|
return versionName |
|
|
|
|
} catch (ignored) { |
|
|
|
|
@ -114,6 +114,8 @@ dependencies { |
|
|
|
|
def retrofit2_version = "2.6.4" |
|
|
|
|
|
|
|
|
|
implementation 'com.google.protobuf:protobuf-kotlin:3.25.1' |
|
|
|
|
// Gson 2.10.1 and older: API level 19 |
|
|
|
|
implementation("com.google.code.gson:gson:2.10.1") |
|
|
|
|
implementation "com.squareup.retrofit2:converter-gson:$retrofit2_version" |
|
|
|
|
implementation "com.squareup.retrofit2:converter-protobuf:$retrofit2_version" |
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:$retrofit2_version" |
|
|
|
|
|