mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 09:26:44 +00:00
61 lines
1.6 KiB
Groovy
61 lines
1.6 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
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 */
|
|
compile "com.android.support:appcompat-v7:${rootProject.ext.support}"
|
|
|
|
/* local dependencies */
|
|
compile project(':java:com.sap.sailing.domain.common')
|
|
compile project(':java:com.sap.sailing.domain.shared.android')
|
|
compile project(':java:com.sap.sailing.server.gateway.serialization.shared.android')
|
|
compile project(':java:com.sap.sse.common')
|
|
compile project(':java:org.json.simple')
|
|
|
|
/* Google Play Services */
|
|
compile "com.google.android.gms:play-services-location:${rootProject.ext.play_services}"
|
|
|
|
/* all local jar-libs */
|
|
compile fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
/* JVM tests */
|
|
testCompile 'junit:junit:4.12'
|
|
testCompile "org.mockito:mockito-core:1.9.5"
|
|
}
|