Skip to content

Commit

Permalink
fix: Revert Java Version Upgrade
Browse files Browse the repository at this point in the history
Revert java version upgrade until React Native 0.73 is more widly used
  • Loading branch information
Alex Risch authored and Alex Risch committed Jan 24, 2024
1 parent 1d16938 commit 17e943c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ afterEvaluate {
}

android {
compileSdkVersion safeExtGet("compileSdkVersion", 34)
compileSdkVersion safeExtGet("compileSdkVersion", 33)

def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() < 8) {
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.majorVersion
jvmTarget = JavaVersion.VERSION_11.majorVersion
}
}

Expand Down

0 comments on commit 17e943c

Please sign in to comment.