Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'com.android.application'
- id 'kotlin-android'
- id 'kotlin-kapt'
- id 'com.google.gms.google-services'
- id 'com.huawei.agconnect'
- }
- android {
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- publishNonDefault true
- signingConfigs {
- config {
- keyAlias 'myclientalias'
- keyPassword 'mykeypassword'
- storeFile file('C:/Users/User/AndroidStudioProjects/Myapp/app/myclientalias.jks')
- storePassword 'mystorepassword'
- }
- }
- compileSdkVersion 31
- defaultConfig {
- applicationId "net.app.myid"
- minSdkVersion 23
- targetSdkVersion 31
- multiDexEnabled true
- versionCode 99
- versionName "1.99"
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
- }
- buildTypes {
- release {
- signingConfig signingConfigs.config
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- signingConfig signingConfigs.config
- }
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- buildFeatures {
- dataBinding = true
- }
- kapt {
- generateStubs = true
- }
- sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
- }
- repositories {
- maven { url 'https://developer.huawei.com/repo/' }
- maven { url "https://jitpack.io" }
- mavenCentral()
- google()
- }
- dependencies {
- implementation 'com.google.firebase:firebase-analytics:20.0.
- implementation 'com.google.firebase:firebase-core:20.0.2'
- implementation 'com.google.firebase:firebase-messaging:23.0.0'
- implementation 'com.huawei.hms:push:6.1.0.300'
- implementation 'com.huawei.hms:hianalytics:6.3.0.303'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement