OSDN Git Service

内部整理中。
[gokigen/A01c.git] / wear / build.gradle
index 98d179f..3b881af 100644 (file)
@@ -1,14 +1,15 @@
 apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
 
 android {
-    compileSdkVersion 25
-    buildToolsVersion "25.0.2"
+    compileSdkVersion 30
+    //buildToolsVersion "30.0.3"
     defaultConfig {
         applicationId "jp.sfjp.gokigen.a01c"
         minSdkVersion 23
-        targetSdkVersion 25
-        versionCode 16
-        versionName "1.2.1"
+        targetSdkVersion 30
+        versionCode 38
+        versionName "1.3.3"
     }
     buildTypes {
         release {
@@ -19,18 +20,21 @@ android {
 }
 
 dependencies {
-    compile fileTree(include: ['*.jar'], dir: 'libs')
+    api fileTree(include: ['*.jar'], dir: 'libs')
 
-    provided 'com.google.android.wearable:wearable:2.0.1'
-    compile 'com.google.android.support:wearable:2.0.1'
-    compile 'com.google.android.gms:play-services-wearable:10.2.1'
+    compileOnly 'com.google.android.wearable:wearable:2.8.1'
 
-    compile 'com.android.support:animated-vector-drawable:25.3.1'
-    compile 'com.android.support:percent:25.3.1'
-    compile 'com.android.support:support-vector-drawable:25.3.1'
-    compile 'com.android.support:appcompat-v7:25.3.1'
-    compile 'com.android.support:preference-v7:25.3.1'
-    compile 'com.android.support:exifinterface:25.3.1'
-    compile 'com.android.support:support-v4:25.3.1'
-    compile files('libs/olycamerakit.jar')
+    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.2'
+    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"
+
+    api files('libs/olycamerakit.jar')
 }