70 lines
2.2 KiB
Groovy
70 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.android.compileSdkVersion
|
|
|
|
signingConfigs {
|
|
release {
|
|
storeFile file('keys')
|
|
keyAlias 'HWDemo'
|
|
keyPassword 'countly'
|
|
storePassword 'countly'
|
|
v1SigningEnabled true
|
|
v2SigningEnabled true
|
|
}
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "ly.count.android.demo"
|
|
minSdkVersion rootProject.ext.android.minSdkVersion
|
|
targetSdkVersion rootProject.ext.android.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.release
|
|
minifyEnabled false
|
|
shrinkResources false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
release {
|
|
signingConfig signingConfigs.release
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
// implementation project(':libraries:countly:sdk')
|
|
implementation 'com.mogo.cloud:countly-sdk:1.4.7.49.18-debug'
|
|
//implementation 'ly.count.android:sdk:21.11.0'
|
|
//implementation 'ly.count.android:sdk-plugin:21.11.0'
|
|
|
|
|
|
implementation 'com.google.android.material:material:1.3.0'
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
|
implementation 'androidx.annotation:annotation:1.2.0'
|
|
implementation 'androidx.core:core-ktx:1.5.0'
|
|
|
|
//required for the install referrer
|
|
implementation 'com.android.installreferrer:installreferrer:2.2'
|
|
|
|
}
|
|
|