Skip to content

Commit ed0f060

Browse files
changed to implementation way
1 parent 52a4223 commit ed0f060

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

youtube-android/app/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ android {
2121

2222
dependencies {
2323
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
compile 'com.android.support:design:27.0.2'
25-
compile 'com.android.support:support-v4:27.0.2'
26-
compile 'com.android.support:appcompat-v7:27.0.2'
27-
compile 'com.android.support.constraint:constraint-layout:1.0.2'
28-
compile 'com.squareup.picasso:picasso:2.5.2'
24+
implementation 'com.android.support:design:27.0.2'
25+
implementation 'com.android.support:support-v4:27.0.2'
26+
implementation 'com.android.support:appcompat-v7:27.0.2'
27+
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
28+
implementation 'com.squareup.picasso:picasso:2.5.2'
29+
implementation project(':inline-youtube-view')
2930

30-
testCompile 'junit:junit:4.12'
31-
compile project(':inline-youtube-view')
31+
testImplementation 'junit:junit:4.12'
3232
}

youtube-android/inline-youtube-view/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ allprojects {
4646

4747
dependencies {
4848
compile fileTree(include: ['*.jar'], dir: 'libs')
49-
compile 'com.android.support:appcompat-v7:27.0.2'
50-
compile files('libs/YouTubeAndroidPlayerApi-1.2.2.jar')
51-
52-
testCompile 'junit:junit:4.12'
49+
implementation 'com.android.support:appcompat-v7:27.0.2'
50+
implementation files('libs/YouTubeAndroidPlayerApi-1.2.2.jar')
5351
}
5452

5553
apply plugin: 'maven-publish'

0 commit comments

Comments
 (0)