Skip to content

Commit

Permalink
Merge pull request #217 from xmtp/ar/fix-revert-java-upgrade
Browse files Browse the repository at this point in the history
fix: Revert Java Version Upgrade
  • Loading branch information
alexrisch authored Jan 25, 2024
2 parents 3e3b2b5 + 17e943c commit 06cf2b6
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 06cf2b6

Please sign in to comment.