OSDN Git Service

APIレベルを30に引き上げる。その2
[gokigen/A01c.git] / app / build.gradle
index 33392e2..1872263 100644 (file)
@@ -1,14 +1,14 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 27
-    buildToolsVersion "27.0.3"
+    compileSdkVersion 30
+    //buildToolsVersion "30.0.3"
     defaultConfig {
         applicationId "jp.sfjp.gokigen.a01c"
         minSdkVersion 14
-        targetSdkVersion 27
-        versionCode 33
-        versionName "1.3.1"
+        targetSdkVersion 30
+        versionCode 35
+        versionName "1.3.2"
     }
     buildTypes {
         release {
@@ -32,15 +32,19 @@ android {
 dependencies {
     api fileTree(dir: 'libs', include: ['*.jar'])
     wearApp project(path: ':wear')
-    compileOnly 'com.google.android.wearable:wearable:2.3.0'
-    api 'com.google.android.support:wearable:2.3.0'
-    api 'com.google.android.gms:play-services-wearable:15.0.1'
 
-    api 'com.android.support:animated-vector-drawable:27.1.1'
-    api 'com.android.support:percent:27.1.1'
-    api 'com.android.support:support-vector-drawable:27.1.1'
-    api 'com.android.support:appcompat-v7:27.1.1'
-    api 'com.android.support:preference-v7:27.1.1'
-    api 'com.android.support:exifinterface:27.1.1'
-    api 'com.android.support:support-v4:27.1.1'
+    compileOnly 'com.google.android.wearable:wearable:2.8.1'
+
+    implementation 'com.google.android.support:wearable:2.8.1'
+    implementation 'com.google.android.gms:play-services-wearable:17.0.0'
+    implementation 'com.android.support:wear:30.0.0'
+
+    implementation 'androidx.wear:wear:1.1.0'
+    implementation 'androidx.preference:preference-ktx:1.1.1'
+    implementation 'androidx.appcompat:appcompat:1.2.0'
+    implementation 'androidx.exifinterface:exifinterface:1.3.1'
+    implementation 'com.google.android.material:material:1.2.1'
+    implementation "androidx.core:core-ktx:1.3.2"
+    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+
 }