Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Make the :syncthing:buildNative task depend explicitly on :app:mergeR…
Browse files Browse the repository at this point in the history
…eleaseJniLibFolders
  • Loading branch information
adamszewe committed Jan 5, 2024
1 parent 0105adc commit 1937a3b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.gradle.configurationcache.extensions.capitalized

plugins {
id("com.android.application")
id("com.github.ben-manes.versions")
Expand Down Expand Up @@ -108,3 +110,11 @@ tasks.register<Delete>("deleteUnsupportedPlayTranslations") {
"src/main/play/listings/ta/",
)
}

project.afterEvaluate {
android.buildTypes.forEach {
tasks.named("merge${it.name.capitalized()}JniLibFolders") {
dependsOn(":syncthing:buildNative")
}
}
}

0 comments on commit 1937a3b

Please sign in to comment.