build.gradle version 1.3.2, ignored file in first commits

This commit is contained in:
2018-04-01 22:40:59 +02:00
parent e924d24315
commit 0092bc6530

47
app/build.gradle Normal file
View File

@@ -0,0 +1,47 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "com.jkanetwork.st.calendariodefrases"
minSdkVersion 15
targetSdkVersion 27
versionName "1.3.2"
// 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 "android.support.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 'com.android.support:appcompat-v7:27.1.0'
implementation 'com.android.support:support-compat:27.1.0'
implementation 'com.android.support:design:27.1.0'
implementation 'com.github.marcohc:robotocalendarview:3.1.1'
implementation 'com.google.android.gms:play-services-ads:12.0.1'
//compile 'com.tappx.sdk.android:tappx-sdk:3.+'
//testImplementation 'junit:junit:4.12'
}