Skip to content

Commit

Permalink
Fix apk-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmur committed Aug 11, 2024
1 parent 0e4487b commit 57b9825
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dart/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,18 @@ task extractLibs(dependsOn: downloadLibs) {
}
}

// Ensure the mergeReleaseJniLibFolders task depends on extractLibs
// Ensure mergeReleaseJniLibFolders depends on extractLibs
tasks.whenTaskAdded { task ->
if (task.name == 'mergeReleaseJniLibFolders') {
task.dependsOn extractLibs
SUPPORT_ARCH.each { arch ->
def extractTaskName = "${LIB_NAME}_extract_libs_${arch}"
task.dependsOn tasks.findByName(extractTaskName)
}
}
}

def FHEL_DISABLE_AUTO_BUILD=System.env.FHEL_DISABLE_AUTO_BUILD ?: null
def FHEL_DISABLE_AUTO_BUILD = System.getenv('FHEL_DISABLE_AUTO_BUILD') ?: null
if (FHEL_DISABLE_AUTO_BUILD != null) {
println "Found FHEL_DISABLE_AUTO_BUILD, skip auto build"
} else {
Expand Down

0 comments on commit 57b9825

Please sign in to comment.