From 23b989838d6cbd8e46ccc8c7262f829f2d62d431 Mon Sep 17 00:00:00 2001 From: H1Gdev Date: Fri, 7 Sep 2018 11:40:44 +0900 Subject: [PATCH] Android tutorials: 'compile' and 'testCompile' configurations are deprecated Replace new configuration. - 'compile' -> 'implementation' - 'testCompile' -> 'testImplementation' https://bugzilla.gnome.org/show_bug.cgi?id=797093 --- examples/tutorials/android/android-tutorial-1/build.gradle | 6 +++--- examples/tutorials/android/android-tutorial-2/build.gradle | 6 +++--- examples/tutorials/android/android-tutorial-3/build.gradle | 6 +++--- examples/tutorials/android/android-tutorial-4/build.gradle | 6 +++--- examples/tutorials/android/android-tutorial-5/build.gradle | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/examples/tutorials/android/android-tutorial-1/build.gradle b/examples/tutorials/android/android-tutorial-1/build.gradle index 33bac31fbb..fe84087c7c 100644 --- a/examples/tutorials/android/android-tutorial-1/build.gradle +++ b/examples/tutorials/android/android-tutorial-1/build.gradle @@ -68,7 +68,7 @@ afterEvaluate { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:23.1.1' } diff --git a/examples/tutorials/android/android-tutorial-2/build.gradle b/examples/tutorials/android/android-tutorial-2/build.gradle index 0fff221ce9..0174070495 100644 --- a/examples/tutorials/android/android-tutorial-2/build.gradle +++ b/examples/tutorials/android/android-tutorial-2/build.gradle @@ -68,7 +68,7 @@ afterEvaluate { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:23.1.1' } diff --git a/examples/tutorials/android/android-tutorial-3/build.gradle b/examples/tutorials/android/android-tutorial-3/build.gradle index ea318bc053..19b61e1d8e 100644 --- a/examples/tutorials/android/android-tutorial-3/build.gradle +++ b/examples/tutorials/android/android-tutorial-3/build.gradle @@ -68,7 +68,7 @@ afterEvaluate { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:23.1.1' } diff --git a/examples/tutorials/android/android-tutorial-4/build.gradle b/examples/tutorials/android/android-tutorial-4/build.gradle index d068277936..d771f3c8c4 100644 --- a/examples/tutorials/android/android-tutorial-4/build.gradle +++ b/examples/tutorials/android/android-tutorial-4/build.gradle @@ -68,7 +68,7 @@ afterEvaluate { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:23.1.1' } diff --git a/examples/tutorials/android/android-tutorial-5/build.gradle b/examples/tutorials/android/android-tutorial-5/build.gradle index e18fb2f0b2..108b481bf7 100644 --- a/examples/tutorials/android/android-tutorial-5/build.gradle +++ b/examples/tutorials/android/android-tutorial-5/build.gradle @@ -68,7 +68,7 @@ afterEvaluate { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) - testCompile 'junit:junit:4.12' - compile 'com.android.support:appcompat-v7:23.1.1' + implementation fileTree(dir: 'libs', include: ['*.jar']) + testImplementation 'junit:junit:4.12' + implementation 'com.android.support:appcompat-v7:23.1.1' }