Download tasks/efflora__fossify-compose-screens/environment/warm/fvm-build.patch from efflora/android-bench-sample: direct link, hf CLI and curl.
- Browser
- Download file 3.28 kB
-
https://huggingface.co/datasets/efflora/android-bench-sample/resolve/main/tasks/efflora__fossify-compose-screens/environment/warm/fvm-build.patch
- Command line
-
hf download hf://datasets/efflora/android-bench-sample/tasks/efflora__fossify-compose-screens/environment/warm/fvm-build.patch
-
curl -L -o fvm-build.patch https://huggingface.co/datasets/efflora/android-bench-sample/resolve/main/tasks/efflora__fossify-compose-screens/environment/warm/fvm-build.patch
3.28 kB
| diff --git a/app/build.gradle.kts b/app/build.gradle.kts | |
| index 5715433..4acbe05 100644 | |
| --- a/app/build.gradle.kts | |
| +++ b/app/build.gradle.kts | |
| android { | |
| sourceSets { | |
| getByName("main").java.directories.add("src/main/kotlin") | |
| + getByName("test").java.directories.add("src/test/kotlin") | |
| } | |
| compileOptions { | |
| dependencies { | |
| implementation(libs.fossify.commons) | |
| implementation(libs.androidx.documentfile) | |
| implementation(libs.androidx.swiperefreshlayout) | |
| + implementation(libs.androidx.activity.ktx) | |
| + implementation(libs.androidx.lifecycle.runtime.ktx) | |
| + implementation(libs.androidx.lifecycle.viewmodel.ktx) | |
| + implementation(libs.androidx.lifecycle.viewmodel.savedstate) | |
| + implementation(libs.kotlinx.coroutines.android) | |
| implementation(libs.roottools) | |
| implementation(libs.rootshell) | |
| implementation(libs.gestureviews) | |
| implementation(libs.autofittextview) | |
| implementation(libs.zip4j) | |
| detektPlugins(libs.compose.detekt) | |
| + | |
| + testImplementation(libs.junit) | |
| + testImplementation(libs.kotlinx.coroutines.test) | |
| } | |
| diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml | |
| index 6c71eb8..9761776 100644 | |
| --- a/gradle/libs.versions.toml | |
| +++ b/gradle/libs.versions.toml | |
| kotlin = "2.3.10" | |
| detekt = "1.23.8" | |
| detektCompose = "0.4.28" | |
| #AndroidX | |
| +androidx-activity = "1.12.4" | |
| +androidx-lifecycle = "2.10.0" | |
| androidx-swiperefreshlayout = "1.2.0" | |
| androidx-documentfile = "1.1.0" | |
| #Fossify | |
| commons = "6.1.6" | |
| +#KotlinX | |
| +kotlinx-coroutines = "1.9.0" | |
| +#Testing | |
| +junit = "4.13.2" | |
| #Other | |
| autofittextview = "0.2.1" | |
| gestureviews = "2.9.0" | |
| app-build-javaVersion = "VERSION_17" | |
| app-build-kotlinJVMTarget = "17" | |
| [libraries] | |
| #AndroidX | |
| +androidx-activity-ktx = { module = "androidx.activity:activity-ktx", version.ref = "androidx-activity" } | |
| +androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidx-lifecycle" } | |
| +androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" } | |
| +androidx-lifecycle-viewmodel-savedstate = { module = "androidx.lifecycle:lifecycle-viewmodel-savedstate", version.ref = "androidx-lifecycle" } | |
| androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "androidx-swiperefreshlayout" } | |
| androidx-documentfile = { module = "androidx.documentfile:documentfile", version.ref = "androidx-documentfile" } | |
| #Compose | |
| compose-detekt = { module = "io.nlopez.compose.rules:detekt", version.ref = "detektCompose" } | |
| #Fossify | |
| fossify-commons = { module = "org.fossify:commons", version.ref = "commons" } | |
| +#KotlinX | |
| +kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" } | |
| +kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" } | |
| +#Testing | |
| +junit = { module = "junit:junit", version.ref = "junit" } | |
| #Other | |
| autofittextview = { module = "me.grantland:autofittextview", version.ref = "autofittextview" } | |
| gestureviews = { module = "com.alexvasilkov:gesture-views", version.ref = "gestureviews" } | |