Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Update dependency resolver to fix many bugs and add support for downl…
Browse files Browse the repository at this point in the history
…oading dependencies via sonatype snapshot repository

Signed-off-by: PranavPurwar <[email protected]>
  • Loading branch information
PranavPurwar committed Aug 27, 2023
1 parent 6916fe2 commit 3917e8b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .idea/gradle.xml

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

2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ dependencies {
implementation("com.android.tools:r8:8.1.56")
implementation("com.android.tools.smali:smali-dexlib2:3.0.3")
//noinspection GradleDependency
implementation("com.github.Cosmic-Ide:DependencyResolver:7fd2291213")
implementation("com.github.Cosmic-Ide:DependencyResolver:a9085eb660")
implementation("com.github.xxdark:ssvm:df30743")
implementation("com.google.android.material:material:1.9.0")
implementation("com.google.code.gson:gson:2.10.1")
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/kotlin/org/cosmicide/fragment/EditorFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,12 @@ class EditorFragment : BaseBindingFragment<FragmentEditorBinding>() {
}
return@launch
}
if (artifact == null) {
lifecycleScope.launch(Dispatchers.Main) {
binding.editor.setText("Cannot find library")
}
return@launch
}
artifact.downloadArtifact(project.libDir)
sheet.dismiss()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class AboutSettings(private val activity: FragmentActivity) : SettingsProvider {
summary = "Donate to the developer"

selectionChangeListener =
SingleChoiceDialogPreference.OnSelectionChangeListener { preference, selection ->
SingleChoiceDialogPreference.OnSelectionChangeListener { pre_ference, selection ->
when (selection) {
"paypal" -> {
activity.startActivity(
Expand Down

0 comments on commit 3917e8b

Please sign in to comment.