appcompat等版本号改为宏定义引用

appcompat等版本号改为宏定义引用
pull/107/head
xufulong 5 years ago
parent 549a875cf8
commit 7aa92655e2
  1. 2
      Live/build.gradle
  2. 14
      OnLive/build.gradle
  3. 4
      app/build.gradle
  4. 7
      gradle.properties

@ -33,5 +33,5 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0' implementation "androidx.appcompat:appcompat:$rootProject.appcompatVersion"
} }

@ -39,14 +39,14 @@ android {
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.1.0' implementation "androidx.appcompat:appcompat:$rootProject.appcompatVersion"
implementation 'androidx.preference:preference:1.1.0' implementation "androidx.preference:preference:$rootProject.preferenceVersion"
implementation 'androidx.annotation:annotation:1.1.0' implementation "androidx.annotation:annotation:$rootProject.annotationVersion"
implementation 'androidx.recyclerview:recyclerview:1.1.0-rc01' implementation "androidx.recyclerview:recyclerview:$rootProject.recyclerviewVersion"
implementation 'com.squareup:otto:1.3.8' implementation "com.squareup:otto:$rootProject.ottoVersion"
implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8' implementation "tv.danmaku.ijk.media:ijkplayer-java:$rootProject.ijkVersion"
implementation 'tv.danmaku.ijk.media:ijkplayer-exo:0.8.8' implementation "tv.danmaku.ijk.media:ijkplayer-exo:$rootProject.ijkVersion"
} }

@ -42,8 +42,8 @@ android {
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.appcompat:appcompat:1.1.0' implementation "androidx.appcompat:appcompat:$rootProject.appcompatVersion"
implementation 'androidx.recyclerview:recyclerview:1.1.0-rc01' implementation "androidx.recyclerview:recyclerview:$rootProject.recyclerviewVersion"
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
implementation project(':Live') implementation project(':Live')
} }

@ -18,3 +18,10 @@
org.gradle.jvmargs=-Xmx512m org.gradle.jvmargs=-Xmx512m
android.enableJetifier=true android.enableJetifier=true
android.useAndroidX=true android.useAndroidX=true
appcompatVersion=1.1.0
recyclerviewVersion=1.1.0-rc01
preferenceVersion=1.1.0
annotationVersion=1.1.0
ottoVersion=1.3.8
ijkVersion=0.8.8
Loading…
Cancel
Save