mirror of
https://gitlab.com/SoftwareTalent/CalendarioDeFrases.git
synced 2026-02-19 03:21:37 +01:00
47 lines
1.6 KiB
Groovy
47 lines
1.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
defaultConfig {
|
|
applicationId "com.jkanetwork.st.calendariodefrases"
|
|
minSdkVersion 19 //KitKat
|
|
targetSdkVersion 29
|
|
versionName "1.3.3"
|
|
// Sube automáticamente la build en cada
|
|
def versionPropsFile = file('version.count')
|
|
def Properties versionProps = new Properties()
|
|
|
|
versionProps.load(new FileInputStream(versionPropsFile))
|
|
|
|
def code = versionProps['VERSION_CODE'].toInteger() + 1
|
|
versionCode code
|
|
versionProps['VERSION_CODE'] = code.toString()
|
|
versionProps.store(versionPropsFile.newWriter(), null)
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
dexOptions {
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
/*androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
|
|
exclude group: 'com.android.support', module: 'support-annotations'
|
|
})*/
|
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
|
implementation 'androidx.core:core:1.0.2'
|
|
implementation 'com.google.android.material:material:1.0.0'
|
|
implementation 'com.github.marcohc:robotocalendarview:3.1.1'
|
|
implementation 'com.google.android.gms:play-services-ads:18.1.1'
|
|
//compile 'com.tappx.sdk.android:tappx-sdk:3.+'
|
|
//testImplementation 'junit:junit:4.12'
|
|
}
|