[Android] Use root project dependencies versions
Sébastien Toque
git at videolan.org
Mon Sep 3 07:19:44 CEST 2018
vlc-android | branch: master | Sébastien Toque <xilasz at gmail.com> | Mon Sep 3 06:48:35 2018 +0200| [d895d338f6057c63c396c936e2d973b9605f13ba] | committer: Sébastien Toque
Use root project dependencies versions
> https://code.videolan.org/videolan/vlc-android/commit/d895d338f6057c63c396c936e2d973b9605f13ba
---
api/build.gradle | 2 +-
medialibrary/build.gradle | 2 +-
tools/build.gradle | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/api/build.gradle b/api/build.gradle
index 99929d585..d574dc238 100644
--- a/api/build.gradle
+++ b/api/build.gradle
@@ -58,7 +58,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api "com.android.support:appcompat-v7:$rootProject.ext.appCompatVersion"
- testImplementation 'junit:junit:4.12'
+ testImplementation "junit:junit:$rootProject.ext.junitVersion"
}
def properties = new Properties()
diff --git a/medialibrary/build.gradle b/medialibrary/build.gradle
index 79218c77b..c4ccd3956 100644
--- a/medialibrary/build.gradle
+++ b/medialibrary/build.gradle
@@ -65,6 +65,6 @@ dependencies {
api "com.android.support:support-v4:$rootProject.ext.appCompatVersion"
api "com.android.support:support-compat:$rootProject.ext.appCompatVersion"
api "com.android.support:support-fragment:$rootProject.ext.appCompatVersion"
- testImplementation 'junit:junit:4.12'
+ testImplementation "junit:junit:$rootProject.ext.junitVersion"
implementation project(':tools')
}
\ No newline at end of file
diff --git a/tools/build.gradle b/tools/build.gradle
index f144a6512..74d351dcd 100644
--- a/tools/build.gradle
+++ b/tools/build.gradle
@@ -31,9 +31,9 @@ dependencies {
api "com.android.support:support-tv-provider:$rootProject.ext.appCompatVersion"
implementation fileTree(dir: 'libs', include: ['*.jar'])
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:1.0.2'
- androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
+ testImplementation "junit:junit:$rootProject.ext.junitVersion"
+ androidTestImplementation "com.android.support.test:runner:$rootProject.ext.supportTest"
+ androidTestImplementation "com.android.support.test.espresso:espresso-core:$rootProject.espressoVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
repositories {
More information about the Android
mailing list