OsmAnd/plugins/Osmand-SRTMPlugin/build.gradle

69 lines
1.3 KiB
Groovy
Raw Permalink Normal View History

2015-02-03 12:58:26 +01:00
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
2015-02-03 12:58:26 +01:00
signingConfigs {
development {
2015-02-17 10:06:34 +01:00
storeFile file("../../keystores/debug.keystore")
2015-02-03 12:58:26 +01:00
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
2016-12-11 13:05:39 +01:00
release {
2018-06-17 17:30:28 +02:00
storeFile file("/var/lib/jenkins/osmand_key")
storePassword System.getenv("OSMAND_APK_PASSWORD")
keyAlias "osmand"
keyPassword System.getenv("OSMAND_APK_PASSWORD")
}
2015-02-03 12:58:26 +01:00
}
defaultConfig {
minSdkVersion 15
targetSdkVersion 27
2015-02-03 12:58:26 +01:00
}
lintOptions {
abortOnError false
}
sourceSets {
main {
manifest.srcFile "AndroidManifest.xml"
jni.srcDirs = []
jniLibs.srcDirs = []
aidl.srcDirs = ["src"]
java.srcDirs = ["src"]
renderscript.srcDirs = ["src"]
res.srcDirs = ["res"]
assets.srcDirs = ["assets"]
}
}
buildTypes {
debug {
signingConfig signingConfigs.development
}
release {
2016-12-11 13:05:39 +01:00
signingConfig signingConfigs.release
2015-02-03 12:58:26 +01:00
}
}
}
repositories {
ivy {
name = "OsmAndBinariesIvy"
url = "https://builder.osmand.net"
2015-02-03 12:58:26 +01:00
layout "pattern", {
artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
}
}
}
dependencies {
2020-03-04 15:12:06 +01:00
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
2015-02-03 12:58:26 +01:00
}