mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
68 lines
2.1 KiB
Groovy
68 lines
2.1 KiB
Groovy
apply plugin: "com.android.library"
|
|
if (!project.hasProperty("xmake")) {
|
|
apply plugin: "com.getkeepsafe.dexcount"
|
|
}
|
|
android {
|
|
buildToolsVersion rootProject.ext.buildTools
|
|
compileSdkVersion rootProject.ext.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdk
|
|
targetSdkVersion rootProject.ext.targetSdk
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile "AndroidManifest.xml"
|
|
java.srcDirs = ["src"]
|
|
res.srcDirs = ["res"]
|
|
}
|
|
|
|
test {
|
|
java.srcDirs = ["tests-jvm/src"]
|
|
}
|
|
}
|
|
|
|
signingConfigs {
|
|
stg_debug {
|
|
keyAlias "stg_debug"
|
|
keyPassword "stg_debug"
|
|
storeFile file("../android-keystore/STG-debug.jks")
|
|
storePassword "stg_debug"
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
debug {
|
|
signingConfig signingConfigs.stg_debug
|
|
}
|
|
}
|
|
}
|
|
dependencies {
|
|
/* support libraries */
|
|
api "com.android.support:support-v4:${rootProject.ext.support}"
|
|
api "com.android.support:support-v13:${rootProject.ext.support}"
|
|
api "com.android.support:appcompat-v7:${rootProject.ext.support}"
|
|
api "com.android.support:preference-v14:${rootProject.ext.support}"
|
|
|
|
/* local dependencies */
|
|
api project(":com.sap.sailing.domain.shared.android")
|
|
api project(":com.sap.sailing.server.gateway.serialization.shared.android")
|
|
api project(":com.sap.sse.shared.android")
|
|
|
|
/* Google Play Services */
|
|
api "com.google.android.gms:play-services-maps:${rootProject.ext.play_services}"
|
|
api "com.google.android.gms:play-services-vision:${rootProject.ext.play_services}"
|
|
api "com.google.android.gms:play-services-location:${rootProject.ext.play_services}"
|
|
|
|
/* license dialog */
|
|
api "de.psdev.licensesdialog:licensesdialog:${rootProject.ext.license_dialog}"
|
|
|
|
/* Branch.io */
|
|
api group: "io.branch.sdk.android", name: "library", version: "2.19.2"
|
|
|
|
/* JVM tests */
|
|
testImplementation "junit:junit:${rootProject.ext.junit}"
|
|
testImplementation "org.mockito:mockito-core:${rootProject.ext.mockito}"
|
|
}
|