Skip to content

Commit 8ab1dc6

Browse files
committed
android: fix build
1 parent 3a6c67c commit 8ab1dc6

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

android/app/build.gradle

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -97,26 +97,26 @@ tasks.whenTaskAdded { task ->
9797
//=== pack library files to aar ===
9898
//This stuff re-packs the release AAR file adding headers and static libs to there, but removing all shared (.so) libs, as we don't need them. The resulting AAR is put to the project root directory and can be uploaded to Maven along with POM file (you need to write one by hand).
9999

100-
def aarName = name
101-
102-
task copyNdkLibsToAAR(type: Zip) {
103-
baseName = aarName
104-
version = "\$(version)"
105-
extension = 'aar.in'
106-
destinationDir = file('..') //put resulting AAR file to upper level directory
107-
108-
from zipTree("build/outputs/aar/" + aarName + "-release.aar")
109-
exclude('**/*.so') //do not include shared libraries into final AAR
110-
from("../../src") {
111-
include('**/*.hpp')
112-
include('**/*.h')
113-
into('ndkLibs/include')
114-
}
115-
from("build/intermediates/cmake/debug/obj"){
116-
include('**/*.a')
117-
into('ndkLibs')
118-
}
119-
}
100+
// def aarName = name
101+
102+
// task copyNdkLibsToAAR(type: Zip) {
103+
// baseName = aarName
104+
// version = "\$(version)"
105+
// extension = 'aar.in'
106+
// destinationDir = file('..') //put resulting AAR file to upper level directory
107+
108+
// from zipTree("build/outputs/aar/" + aarName + "-release.aar")
109+
// exclude('**/*.so') //do not include shared libraries into final AAR
110+
// from("../../src") {
111+
// include('**/*.hpp')
112+
// include('**/*.h')
113+
// into('ndkLibs/include')
114+
// }
115+
// from("build/intermediates/cmake/debug/obj"){
116+
// include('**/*.a')
117+
// into('ndkLibs')
118+
// }
119+
// }
120120

121121
// This is only needed for libraries
122122
//afterEvaluate {

0 commit comments

Comments
 (0)