Skip to content

Commit

Permalink
Disable desugaring on language-textmate module, while at the same tim…
Browse files Browse the repository at this point in the history
…e keep it on sora editor app. So that Applications using language-textmate can disable desugaring if they target only new apis.
  • Loading branch information
MohammedKHC committed Jan 4, 2025
1 parent b13130a commit e49e98e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions language-textmate/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ android {
}
compileOptions {
// Flag to enable support for the new language APIs
isCoreLibraryDesugaringEnabled = true
// It's only needed if your app targets old Android APIs.
//isCoreLibraryDesugaringEnabled = true
}
}

dependencies {
coreLibraryDesugaring(libs.desugar)

compileOnly(projects.editor)
implementation(libs.gson)
implementation(libs.jcodings)
Expand Down

0 comments on commit e49e98e

Please sign in to comment.