Skip to content

Commit

Permalink
lib updates
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTyp7214 committed Nov 2, 2022
1 parent b8fa91c commit 1cf1553
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,23 @@ dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.20")
implementation("androidx.core:core:1.9.0")

implementation("com.google.android.material:material:1.8.0-alpha01")
implementation("com.google.android.material:material:1.8.0-alpha02")
implementation("androidx.constraintlayout:constraintlayout:2.2.0-alpha04")
implementation("androidx.preference:preference-ktx:1.2.0")
implementation("androidx.activity:activity-ktx:1.7.0-alpha01")
implementation("androidx.activity:activity-ktx:1.7.0-alpha02")
implementation("androidx.fragment:fragment-ktx:1.5.4")
implementation("com.jaredrummler:android-shell:1.0.0")
implementation("com.google.firebase:firebase-analytics:21.2.0")
implementation("com.google.firebase:firebase-messaging:23.1.0")
implementation("com.google.code.gson:gson:2.10")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0-alpha02")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.0-alpha03")
implementation("com.bignerdranch.android:simple-item-decoration:1.0.0")
implementation("de.dertyp7214:PRDownloader:v0.6.0")
implementation("com.github.skydoves:balloon:1.4.7")
implementation("androidx.appcompat:appcompat:1.5.1")
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.4-beta01")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0-beta01")
androidTestImplementation("androidx.test.ext:junit:1.1.4-rc01")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0-rc01")
implementation("androidx.browser:browser:1.4.0")
implementation("com.github.bumptech.glide:glide:4.14.2")
kapt("com.github.bumptech.glide:compiler:4.14.2")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ class XMLFile(
fun hasNot(entry: XMLEntry) = !has(entry)
fun entryEquals(entry: XMLEntry) = values[entry.name]?.value == entry.value
fun entryNotEquals(entry: XMLEntry) = !entryEquals(entry)
fun remove(name: String) = values.remove(name)
operator fun get(name: String): Any? = values[name]?.value
operator fun set(name: String, value: Any?) =
if (value == null) remove(name) else values[name]?.setValue(value)

val entries: List<XMLEntry>
get() = values.values.toList()
Expand Down

0 comments on commit 1cf1553

Please sign in to comment.