Select Git revision
build.gradle
build.gradle 1.06 KiB
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
applicationId "com.gabm.fancyplaces"
minSdkVersion 16
targetSdkVersion 25
versionCode 8
versionName "1.2.3"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "debug_title", ""
}
debug {
applicationIdSuffix ".debug"
versionNameSuffix "-DEBUG"
resValue "string", "debug_title", "DEBUG-" + getDate()
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.melnykov:floatingactionbutton:1.3.0'
compile 'org.osmdroid:osmdroid-android:4.3'
compile 'org.slf4j:slf4j-simple:1.6.1'
}
def getDate() {
def date = new Date()
def formattedDate = date.format('yyyyMMdd-HH:mm')
return formattedDate
}