OSDN Git Service

Bump robolectric sdk to 30
authorutzcoz <utzcoz@outlook.com>
Sun, 7 Feb 2021 15:52:34 +0000 (23:52 +0800)
committerutzcoz <utzcoz@outlook.com>
Sun, 7 Feb 2021 15:53:40 +0000 (23:53 +0800)
The developer should configure Android Studio JDK to local JDK 9 and
above.

See
https://stackoverflow.com/questions/56821193/does-robolectric-require-java-9.

Test: ./gradlew build

Signed-off-by: utzcoz <utzcoz@outlook.com>
app/src/test/resources/robolectric.properties
build.gradle

index 89a6c8b..90fbd74 100644 (file)
@@ -1 +1 @@
-sdk=28
\ No newline at end of file
+sdk=30
\ No newline at end of file
index 4eb567c..7de5171 100644 (file)
@@ -8,7 +8,7 @@ buildscript {
     }
 
     dependencies {
-        classpath "com.android.tools.build:gradle:$AGP_VERSION"
+        classpath "com.android.tools.build:gradle:${AGP_VERSION}"
     }
 }