mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-10 14:20:55 +00:00
extracted gradle dependency versions into the root build.gradle file (one place for all sub modules)
This commit is contained in:
1 parent
f59c519e9a
commit
44752010e6
5 files changed
+67
-47
No files matched your search
@@ -1,12 +1,12 @@
|
||||
apply plugin: 'com.android.library'
|
||||
|
||||
android {
|
||||
buildToolsVersion "22.0.1"
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion rootProject.ext.buildTools
|
||||
compileSdkVersion rootProject.ext.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 22
|
||||
minSdkVersion rootProject.ext.minSdk
|
||||
targetSdkVersion rootProject.ext.targetSdk
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
@@ -39,7 +39,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
/* support libraries */
|
||||
compile 'com.android.support:appcompat-v7:22.1.1'
|
||||
compile "com.android.support:appcompat-v7:${rootProject.ext.support}"
|
||||
|
||||
/* local dependencies */
|
||||
compile project(':java:com.sap.sailing.domain.common')
|
||||
@@ -49,7 +49,7 @@ dependencies {
|
||||
compile project(':java:org.json.simple')
|
||||
|
||||
/* Google Play Services */
|
||||
compile "com.google.android.gms:play-services-location:7.3.0"
|
||||
compile "com.google.android.gms:play-services-location:${rootProject.ext.play_services}"
|
||||
|
||||
/* all local jar-libs */
|
||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
||||
|
||||
@@ -5,13 +5,13 @@ def packageName = "com.sap.sailing.android.tracking.app"
|
||||
def verCode = 1
|
||||
|
||||
android {
|
||||
buildToolsVersion "22.0.1"
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion rootProject.ext.buildTools
|
||||
compileSdkVersion rootProject.ext.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
applicationId packageName
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 22
|
||||
minSdkVersion rootProject.ext.minSdk
|
||||
targetSdkVersion rootProject.ext.targetSdk
|
||||
versionCode verCode
|
||||
versionName "$verCode - Altitude"
|
||||
useJack false // not working on Windows yet
|
||||
@@ -69,25 +69,25 @@ android {
|
||||
|
||||
dependencies {
|
||||
/* support libraries */
|
||||
compile "com.android.support:appcompat-v7:22.1.1"
|
||||
compile "com.android.support:appcompat-v7:${rootProject.ext.support}"
|
||||
|
||||
/* Google Play Services */
|
||||
compile "com.google.android.gms:play-services-gcm:7.3.0"
|
||||
compile "com.google.android.gms:play-services-location:7.3.0"
|
||||
compile "com.google.android.gms:play-services-gcm:${rootProject.ext.play_services}"
|
||||
compile "com.google.android.gms:play-services-location:${rootProject.ext.play_services}"
|
||||
|
||||
/* local dependencies */
|
||||
compile project(":mobile:com.sap.sailing.android.shared")
|
||||
|
||||
/* JVM tests */
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.mockito:mockito-core:1.9.5"
|
||||
testCompile "junit:junit:${rootProject.ext.junit}"
|
||||
testCompile "org.mockito:mockito-core:${rootProject.ext.mockito}"
|
||||
|
||||
/* UI testing with espresso */
|
||||
androidTestCompile "com.android.support:support-annotations:22.1.1"
|
||||
androidTestCompile "com.android.support.test:runner:0.2"
|
||||
androidTestCompile "com.android.support.test:rules:0.2"
|
||||
androidTestCompile "com.android.support.test.espresso:espresso-core:2.1"
|
||||
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:2.1") {
|
||||
androidTestCompile "com.android.support:support-annotations:${rootProject.ext.support}"
|
||||
androidTestCompile "com.android.support.test:runner:${rootProject.ext.test}"
|
||||
androidTestCompile "com.android.support.test:rules:${rootProject.ext.test}"
|
||||
androidTestCompile "com.android.support.test.espresso:espresso-core:${rootProject.ext.espresso}"
|
||||
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:${rootProject.ext.espresso}") {
|
||||
exclude group: "com.android.support", module: "appcompat"
|
||||
exclude group: "com.android.support", module: "support-v4"
|
||||
exclude module: "recyclerview-v7"
|
||||
|
||||
@@ -5,13 +5,13 @@ def packageName = "com.sap.sailing.buoy.positioning.app"
|
||||
def verCode = 1
|
||||
|
||||
android {
|
||||
buildToolsVersion "22.0.1"
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion rootProject.ext.buildTools
|
||||
compileSdkVersion rootProject.ext.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
applicationId packageName
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 22
|
||||
minSdkVersion rootProject.ext.minSdk
|
||||
targetSdkVersion rootProject.ext.targetSdk
|
||||
versionCode verCode
|
||||
versionName "$verCode - Altitude"
|
||||
useJack false // not working on Windows yet
|
||||
@@ -69,24 +69,24 @@ android {
|
||||
|
||||
dependencies {
|
||||
/* support libraries */
|
||||
compile "com.android.support:appcompat-v7:22.1.1"
|
||||
compile "com.android.support:appcompat-v7:${rootProject.ext.support}"
|
||||
|
||||
/* Google Play Services */
|
||||
compile "com.google.android.gms:play-services-location:7.3.0"
|
||||
compile "com.google.android.gms:play-services-location:${rootProject.ext.play_services}"
|
||||
|
||||
/* local dependencies */
|
||||
compile project(":mobile:com.sap.sailing.android.shared")
|
||||
|
||||
/* JVM tests */
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.mockito:mockito-core:1.9.5"
|
||||
testCompile "junit:junit:${rootProject.ext.junit}"
|
||||
testCompile "org.mockito:mockito-core:${rootProject.ext.mockito}"
|
||||
|
||||
/* UI testing with espresso */
|
||||
androidTestCompile "com.android.support:support-annotations:22.1.1"
|
||||
androidTestCompile "com.android.support.test:runner:0.2"
|
||||
androidTestCompile "com.android.support.test:rules:0.2"
|
||||
androidTestCompile "com.android.support.test.espresso:espresso-core:2.1"
|
||||
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:2.1") {
|
||||
androidTestCompile "com.android.support:support-annotations:${rootProject.ext.support}"
|
||||
androidTestCompile "com.android.support.test:runner:${rootProject.ext.test}"
|
||||
androidTestCompile "com.android.support.test:rules:${rootProject.ext.test}"
|
||||
androidTestCompile "com.android.support.test.espresso:espresso-core:${rootProject.ext.espresso}"
|
||||
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:${rootProject.ext.espresso}") {
|
||||
exclude group: "com.android.support", module: "appcompat"
|
||||
exclude group: "com.android.support", module: "support-v4"
|
||||
exclude module: "recyclerview-v7"
|
||||
|
||||
@@ -5,13 +5,13 @@ def packageName = "com.sap.sailing.racecommittee.app"
|
||||
def verCode = 7
|
||||
|
||||
android {
|
||||
buildToolsVersion "22.0.1"
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion rootProject.ext.buildTools
|
||||
compileSdkVersion rootProject.ext.compileSdk
|
||||
|
||||
defaultConfig {
|
||||
applicationId packageName
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 22
|
||||
minSdkVersion rootProject.ext.minSdk
|
||||
targetSdkVersion rootProject.ext.targetSdk
|
||||
versionCode verCode
|
||||
versionName "$verCode - Laser"
|
||||
useJack false // not working on Windows yet
|
||||
@@ -75,11 +75,11 @@ dependencies {
|
||||
compile "com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:0.6.2"
|
||||
|
||||
/* support libraries */
|
||||
compile "com.android.support:appcompat-v7:22.1.1"
|
||||
compile "com.android.support:recyclerview-v7:22.1.1"
|
||||
compile "com.android.support:appcompat-v7:${rootProject.ext.support}"
|
||||
compile "com.android.support:recyclerview-v7:${rootProject.ext.support}"
|
||||
|
||||
/* Google Play Services */
|
||||
compile "com.google.android.gms:play-services-location:7.3.0"
|
||||
compile "com.google.android.gms:play-services-location:${rootProject.ext.play_services}"
|
||||
|
||||
/* local dependencies */
|
||||
compile project(":mobile:com.sap.sailing.android.shared")
|
||||
@@ -88,15 +88,15 @@ dependencies {
|
||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
||||
|
||||
/* JVM tests */
|
||||
testCompile 'junit:junit:4.12'
|
||||
testCompile "org.mockito:mockito-core:1.9.5"
|
||||
testCompile "junit:junit:${rootProject.ext.junit}"
|
||||
testCompile "org.mockito:mockito-core:${rootProject.ext.mockito}"
|
||||
|
||||
/* UI testing with espresso */
|
||||
androidTestCompile "com.android.support:support-annotations:22.1.1"
|
||||
androidTestCompile "com.android.support.test:runner:0.2"
|
||||
androidTestCompile "com.android.support.test:rules:0.2"
|
||||
androidTestCompile "com.android.support.test.espresso:espresso-core:2.1"
|
||||
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:2.1") {
|
||||
androidTestCompile "com.android.support:support-annotations:${rootProject.ext.support}"
|
||||
androidTestCompile "com.android.support.test:runner:${rootProject.ext.test}"
|
||||
androidTestCompile "com.android.support.test:rules:${rootProject.ext.test}"
|
||||
androidTestCompile "com.android.support.test.espresso:espresso-core:${rootProject.ext.espresso}"
|
||||
androidTestCompile ("com.android.support.test.espresso:espresso-contrib:${rootProject.ext.espresso}") {
|
||||
exclude group: "com.android.support", module: "appcompat"
|
||||
exclude group: "com.android.support", module: "support-v4"
|
||||
exclude module: "recyclerview-v7"
|
||||
|
||||
Reference in new issue
Block a user