Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 22dfb270 authored by Ricki Hirner's avatar Ricki Hirner Committed by GitHub
Browse files

Update dependencies (#46)



* Update dependencies

* Trying to fix the  Overload resolution ambiguity error for tests

Co-authored-by: default avatarPatrick Lang <72232737+patrickunterwegs@users.noreply.github.com>
parent 40618b8c
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@

buildscript {
    ext.versions = [
        kotlin: '1.6.21',
        kotlin: '1.7.0',
        dokka: '1.5.0',
        ical4j: '3.1.2',
        ical4j: '3.2.0',    // tests fail with >= 3.2.1: https://github.com/ical4j/ical4j/issues/350#issuecomment-1177290922 – update as soon as this is fixed
        // latest Apache Commons versions that don't require Java 8 (Android 7)
        commonsIO: '2.6'
    ]
@@ -55,7 +55,6 @@ android {
    }
    kotlinOptions {
        jvmTarget = "1.8"
        useIR = true
    }
    packagingOptions {
        resources {
@@ -82,7 +81,7 @@ android {

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.6'

    api("org.mnode.ical4j:ical4j:${versions.ical4j}") {
        exclude module: 'javax.mail'
+11 −7
Original line number Diff line number Diff line
@@ -273,13 +273,17 @@ open class JtxICalObject(
                        }

                        // remove properties to add the rest to other
                        component.properties.remove(component.action)
                        component.properties.remove(component.summary)
                        component.properties.remove(component.description)
                        component.properties.remove(component.duration)
                        component.properties.remove(component.attachment)
                        component.properties.remove(component.repeat)
                        component.properties.remove(component.trigger)
                        component.properties.removeAll(
                            setOf(
                                component.action,
                                component.summary,
                                component.description,
                                component.duration,
                                component.attachment,
                                component.repeat,
                                component.trigger
                            )
                        )
                        component.properties?.let { vAlarmProps -> this.other = JtxContract.getJsonStringFromXProperties(vAlarmProps) }
                    }
                    iCalObject.alarms.add(jtxAlarm)