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

Commit 5e16c152 authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

build(test): align jvm toolchain and Robolectric runtime

parent 18947fd0
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -96,6 +96,15 @@ android {
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    }

    testOptions {
        unitTests {
            includeAndroidResources = true
            all {
                systemProperty 'robolectric.usePreinstrumentedJars', 'false'
            }
        }
    }

    signingConfigs {
        platformConfig {
            storeFile file("keystore/platform.jks")
@@ -264,6 +273,7 @@ dependencies {
    testImplementation(libs.core.testing)
    testImplementation(libs.mockk)
    testImplementation(libs.robolectric)
    testImplementation(libs.guava)

    // Coil and PhotoView
    implementation(libs.coil)
+5 −1
Original line number Diff line number Diff line
@@ -4,6 +4,10 @@ plugins {
    id 'maven-publish'
}

kotlin {
    jvmToolchain(21)
}

java {
    sourceCompatibility = JavaVersion.VERSION_21
    targetCompatibility = JavaVersion.VERSION_21
+4 −0
Original line number Diff line number Diff line
@@ -4,6 +4,10 @@ plugins {
    id 'maven-publish'
}

kotlin {
    jvmToolchain(21)
}

java {
    sourceCompatibility = JavaVersion.VERSION_21
    targetCompatibility = JavaVersion.VERSION_21