Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions extension/android/executorch_android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
plugins {
id "com.android.library" version "8.9.0"
id "com.vanniktech.maven.publish" version "0.31.0"
alias(libs.plugins.jetbrains.kotlin.android)
}

android {
Expand All @@ -34,6 +35,9 @@ android {
resources.srcDirs += [ 'src/androidTest/resources' ]
}
}
kotlinOptions {
jvmTarget = '17'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now we have

    compileOptions {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }

is 1.8 possible? Otherwise we make everything 17?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should make it to use 1.8 for kotlin compiler as well for the compatibility, will update.

}
}

task copyTestRes(type: Exec) {
Expand All @@ -43,6 +47,7 @@ task copyTestRes(type: Exec) {
dependencies {
implementation 'com.facebook.fbjni:fbjni:0.5.1'
implementation 'com.facebook.soloader:nativeloader:0.10.5'
implementation libs.core.ktx
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test:rules:1.2.0'
Expand Down

This file was deleted.

Loading
Loading