Jelajahi Sumber

Merge remote-tracking branch 'origin/master'

sduduzog 6 tahun lalu
induk
melakukan
359182de81
2 mengubah file dengan 12 tambahan dan 7 penghapusan
  1. 5 3
      .circleci/config.yml
  2. 7 4
      app/build.gradle

+ 5 - 3
.circleci/config.yml

@@ -6,7 +6,7 @@ jobs:
         - master
     working_directory: ~/code
     docker:
-      - image: circleci/android:api-28
+      - image: circleci/android:api-29
     environment:
       JVM_OPTS: -Xmx3200m
     steps:
@@ -22,9 +22,11 @@ jobs:
       - run:
           name: Download Dependencies
           command: ./gradlew androidDependencies
-      - save_cache:
+      - save_cache:publish task as the last step in your config.yml file.
+-
           paths:
-            - ~/.gradle
+            - ~/.gradlepublish task as the last step in your config.yml file.
+-
           key: jars-{{ checksum "build.gradle" }}-{{ checksum  "app/build.gradle" }}
       - run:
           name: Run Tests

+ 7 - 4
app/build.gradle

@@ -1,10 +1,12 @@
-apply plugin: 'com.android.application'
+plugins{
+    id 'com.android.application'
 
-apply plugin: 'kotlin-android'
+    id'kotlin-android'
 
-apply plugin: 'kotlin-android-extensions'
+    id 'kotlin-android-extensions'
 
-apply plugin: 'kotlin-kapt'
+    id 'kotlin-kapt'
+}
 
 android {
     compileSdkVersion 29
@@ -17,6 +19,7 @@ android {
         testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
         vectorDrawables.useSupportLibrary = true
     }
+
     buildTypes {
         release {
             minifyEnabled true