OSDN Git Service

Migrate to AndroidX
[android-x86/packages-apps-Eleven.git] / build.gradle
index ef89a61..dfc9958 100644 (file)
@@ -31,7 +31,7 @@ task updateGradleWrapper(type: Wrapper) {
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 28
+    compileSdkVersion 29
 
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_8
@@ -42,7 +42,7 @@ android {
         applicationId "org.lineageos.eleven"
 
         minSdkVersion 26
-        targetSdkVersion 28
+        targetSdkVersion 29
 
         versionCode 3
         versionName '3.0'
@@ -121,10 +121,11 @@ android {
 }
 
 dependencies {
-    // see https://developer.android.com/topic/libraries/support-library/revisions.html
-    implementation "com.android.support:appcompat-v7:28.0.0"
-    implementation "com.android.support:cardview-v7:28.0.0"
-    implementation "com.android.support:palette-v7:28.0.0"
-    implementation "com.android.support:recyclerview-v7:28.0.0"
+    implementation 'androidx.appcompat:appcompat:1.1.0'
+    implementation 'androidx.cardview:cardview:1.0.0'
+    implementation 'androidx.core:core:1.1.0'
+    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+    implementation 'androidx.palette:palette:1.0.0'
+    implementation 'androidx.recyclerview:recyclerview:1.0.0'
 }