Skip to content

Commit

Permalink
AGP to 8.0.2
Browse files Browse the repository at this point in the history
Summary:
This bumps AGP to the latest stable, allowing to bump CMake/NDK afterwards.
I've also bumped JDK version to 17 and set compile/target Java level to 8 so
users can keep on using this library.

Reviewed By: lblasa

Differential Revision: D46844315

fbshipit-source-id: 38235c9950050cf36e6f2bbabc2853fe483a8086
  • Loading branch information
cortinico authored and facebook-github-bot committed Jun 23, 2023
1 parent c247571 commit 49ef4a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
Expand Down
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.0.2'
}
}

Expand Down Expand Up @@ -73,9 +73,15 @@ android {
}

buildFeatures {
buildConfig true
prefabPublishing true
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

prefab {
fbjni {
headers 'cxx/'
Expand Down

0 comments on commit 49ef4a5

Please sign in to comment.