Improve: auto re-generate go.sum on build

This commit is contained in:
kr328
2021-05-15 10:20:58 +08:00
parent 08db7c56fa
commit e4c27ac233
3 changed files with 6 additions and 61 deletions

View File

@@ -46,6 +46,8 @@ abstract class GolangBuildTask : DefaultTask() {
""".trimIndent().trim()
}
"go mod tidy".exec(pwd = src)
nativeAbis.get().parallelStream().forEach {
val out = outputDirectory.get().file("$it/libclash.so")