| plugins { |
| id 'com.android.application' |
| id 'org.jetbrains.kotlin.android' |
| id 'com.google.protobuf' version '0.9.4' |
| } |
| |
| android { |
| namespace 'com.google.tfmonitor' |
| compileSdk 35 |
| ndkVersion "23.1.7779620" |
| |
| defaultConfig { |
| applicationId "com.google.tfmonitor" |
| minSdk 21 |
| targetSdk 33 |
| versionCode 4 |
| versionName "1.1" |
| testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| } |
| buildTypes { |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| } |
| } |
| compileOptions { |
| sourceCompatibility JavaVersion.VERSION_1_8 |
| targetCompatibility JavaVersion.VERSION_1_8 |
| } |
| kotlinOptions { |
| jvmTarget = '1.8' |
| } |
| buildFeatures { |
| compose true |
| viewBinding true |
| } |
| composeOptions { |
| kotlinCompilerExtensionVersion '1.4.3' |
| } |
| } |
| |
| dependencies { |
| implementation 'androidx.activity:activity-compose:1.7.2' |
| implementation 'androidx.navigation:navigation-fragment-ktx:2.7.3' |
| implementation 'androidx.navigation:navigation-ui-ktx:2.7.3' |
| implementation 'com.google.api.grpc:proto-google-common-protos:2.0.1' |
| implementation 'com.google.protobuf:protobuf-java:3.24.0' |
| implementation platform('androidx.compose:compose-bom:2023.09.02') |
| } |
| |
| protobuf { |
| protoc { |
| artifact = 'com.google.protobuf:protoc:3.8.0' |
| } |
| generateProtoTasks { |
| all().configureEach { task -> |
| task.builtins { |
| java { |
| option 'lite' |
| } |
| } |
| } |
| } |
| } |