Browse Source

Fixed deprecation warning

Vadik Sirekanyan 2 years ago
parent
commit
ef4db0e393
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .github/workflows/build.yml
  2. 1 1
      app/build.gradle.kts
  3. 1 1
      build.gradle.kts

+ 1 - 1
.github/workflows/build.yml

@@ -59,4 +59,4 @@ jobs:
       - if: ${{ always() }}
         uses: actions/upload-artifact@v3
         with:
-          path: app/build/reports/androidTests/connected/*.html
+          path: app/build/reports/androidTests/connected/**/*.html

+ 1 - 1
app/build.gradle.kts

@@ -30,7 +30,7 @@ android {
         vectorDrawables.useSupportLibrary = true
         testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
         System.getenv("TEST_TOKEN")?.let {
-            testInstrumentationRunnerArguments.put("testToken", it)
+            testInstrumentationRunnerArguments["testToken"] = it
         }
     }
     buildTypes {

+ 1 - 1
build.gradle.kts

@@ -19,5 +19,5 @@ allprojects {
 }
 
 tasks.register("clean", Delete::class) {
-    delete(rootProject.buildDir)
+    delete(rootProject.layout.buildDirectory)
 }