Skip to content

Commit

Permalink
Fix crash on kotlin editor on older APIs (fixes #512) and fix crash o…
Browse files Browse the repository at this point in the history
…n google-java-format

Tested-by: Pranav Purwar <[email protected]>
Signed-off-by: PranavPurwar <[email protected]>
  • Loading branch information
PranavPurwar committed Mar 25, 2024
1 parent cfed39b commit 3b29983
Show file tree
Hide file tree
Showing 150 changed files with 15,282 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: gradle/[email protected]
with:
gradle-version: nightly
arguments: assembleDebug
arguments: assembleDevDebug

- name: Upload debug apks
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ materialThemeBuilder {

configurations.all {
resolutionStrategy.force("com.squareup.okhttp3:okhttp:4.12.0")
resolutionStrategy.force("com.google.guava:guava:33.1.0-android")
}

dependencies {
Expand All @@ -199,12 +200,10 @@ dependencies {
implementation("androidx.activity:activity-ktx:1.9.0-beta01")
implementation("androidx.startup:startup-runtime:1.2.0-alpha02")

val editorVersion = "0.23.4"
val editorVersion = "0.23.4-cac2770-SNAPSHOT"
//noinspection GradleDependency
implementation("io.github.Rosemoe.sora-editor:editor:$editorVersion")
//noinspection GradleDependency
implementation("io.github.Rosemoe.sora-editor:language-textmate:$editorVersion")
//noinspection GradleDependency
implementation("io.github.Rosemoe.sora-editor:language-treesitter:$editorVersion") {
isTransitive = false
}
Expand Down Expand Up @@ -253,6 +252,7 @@ dependencies {
implementation(projects.util)
implementation(projects.jgit)
implementation(projects.feature.treeView)
implementation(projects.feature.editorTextmate)

// jgit uses some methods like `transferTo` are only available from Android 13 onwards
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4")
Expand Down
Loading

0 comments on commit 3b29983

Please sign in to comment.