Skip to content

Commit 2f57eb3

Browse files
chore(): Fix GH actions
1 parent 5f07641 commit 2f57eb3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ jobs:
6060
with:
6161
java-version: 11
6262

63+
- name: Set up Node
64+
uses: actions/setup-node@v2
65+
with:
66+
node-version: 16
67+
6368
- name: Grant execute permission for gradlew
6469
run: chmod +x gradlew
6570
working-directory: ./android

android/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ android {
4444
}
4545

4646
compileOptions {
47-
sourceCompatibility JavaVersion.VERSION_1_8
48-
targetCompatibility JavaVersion.VERSION_1_8
47+
sourceCompatibility JavaVersion.VERSION_11
48+
targetCompatibility JavaVersion.VERSION_11
4949
}
5050

5151
unitTestVariants.all {
@@ -66,7 +66,6 @@ android {
6666
repositories {
6767
google()
6868
mavenCentral()
69-
jcenter()
7069
}
7170

7271
dependencies {

0 commit comments

Comments
 (0)