mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-14 04:22:19 +00:00
Minor fixes
This commit is contained in:
parent
c8fad7bac4
commit
a99102c273
@ -72,7 +72,8 @@ task extractAARForNativeBuild {
|
||||
}
|
||||
|
||||
tasks.whenTaskAdded { task ->
|
||||
if (task.name.contains('externalNativeBuild')) {
|
||||
if (task.name.equals('externalNativeBuildDebug') ||
|
||||
task.name.equals('externalNativeBuildRelease')) {
|
||||
task.dependsOn(extractAARForNativeBuild)
|
||||
}
|
||||
}
|
||||
@ -83,7 +84,6 @@ def getHeadersDir() {
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
|
||||
android.libraryVariants.all { variant ->
|
||||
variant.outputs.each { output ->
|
||||
File f = output.outputFile
|
||||
@ -100,10 +100,10 @@ afterEvaluate {
|
||||
publishing {
|
||||
publications {
|
||||
release(MavenPublication) {
|
||||
from components.release
|
||||
groupId 'com.github.pkufool'
|
||||
artifactId 'kaldifeat'
|
||||
version = KALDIFEAT_VERSION
|
||||
artifact("$buildDir/outputs/aar/app-release.aar")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user