We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be8259b commit 6f8a147Copy full SHA for 6f8a147
buildSrc/src/main/java/com/google/firebase/gradle/NdkBinaryFixTask.kt
@@ -29,7 +29,9 @@ abstract class NdkBinaryFixTask : DefaultTask() {
29
30
@get:OutputFile
31
val outputFile: File
32
- get() = File("${inputFile.get().asFile.absolutePath}.so")
+ get() = inputFile.get().asFile.let {
33
+ File(it.parentFile, "lib${it.name}.so")
34
+ }
35
36
@get:Internal
37
val into: String
@@ -39,7 +41,7 @@ abstract class NdkBinaryFixTask : DefaultTask() {
39
41
fun run() {
40
42
Files.copy(
43
inputFile.get().asFile.toPath(),
- File("${inputFile.get().asFile.absolutePath}.so").toPath(),
44
+ outputFile.toPath(),
45
StandardCopyOption.REPLACE_EXISTING
46
)
47
}
0 commit comments