osm-focus/build.gradle

78 lines
1.8 KiB
Groovy

buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "dk.network42.osmfocus"
minSdkVersion 14
targetSdkVersion 19
versionName "0.1.1rc1"
versionCode 3
}
signingConfigs {
debug {
storeFile file("/path/to/debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
release {
storeFile file("/path/to/debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
buildTypes {
debug {
applicationIdSuffix ".debug"
versionNameSuffix "-debug"
signingConfig signingConfigs.debug
debuggable true
zipAlignEnabled false
minifyEnabled false
}
release {
versionNameSuffix "-release"
signingConfig signingConfigs.release
debuggable false
zipAlignEnabled true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
manifest.srcFile "AndroidManifest.xml"
java.srcDirs = ['src']
res.srcDirs = ['res']
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:support-v4:26.0.+' //compileSdkVersion
}
repositories {
google()
mavenCentral()
jcenter()
}