mirror of
https://gitlab.com/SoftwareTalent/CalendarioDeFrases.git
synced 2026-02-14 09:01:36 +01:00
46 lines
1.6 KiB
Groovy
46 lines
1.6 KiB
Groovy
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
defaultConfig {
|
|
applicationId "com.jkanetwork.st.calendariodefrases"
|
|
minSdkVersion 21
|
|
compileSdk 34
|
|
targetSdkVersion 34
|
|
versionName "1.3.5"
|
|
// 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'
|
|
}
|
|
}
|
|
namespace 'com.jkanetwork.st.calendariodefrases'
|
|
}
|
|
|
|
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.6.1'
|
|
implementation 'androidx.core:core:1.12.0'
|
|
implementation 'com.google.android.material:material:1.11.0'
|
|
implementation 'com.github.marcohc:robotocalendarview:3.1.1'
|
|
implementation 'com.google.android.gms:play-services-ads:23.0.0'
|
|
//compile 'com.tappx.sdk.android:tappx-sdk:3.+'
|
|
//testImplementation 'junit:junit:4.12'
|
|
}
|