Created
September 29, 2020 02:29
-
-
Save BattleShipPark/cb2cb2c84d743c4e0571c99d0e37936e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id "com.google.protobuf" version "0.8.13" | |
} | |
... | |
apply plugin: 'com.google.protobuf' | |
... | |
protobuf { | |
protoc { | |
artifact = 'com.google.protobuf:protoc:3.10.0' | |
} | |
generateProtoTasks { | |
all().each { task -> | |
task.builtins { | |
java { | |
option "lite" | |
} | |
} | |
} | |
} | |
} | |
... | |
implementation "androidx.datastore:datastore-core:1.0.0-alpha01" | |
implementation "com.google.protobuf:protobuf-javalite:3.11.0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment