File tree Expand file tree Collapse file tree 3 files changed +14
-13
lines changed
prefab/prefab-publishing/mylibrary Expand file tree Collapse file tree 3 files changed +14
-13
lines changed Original file line number Diff line number Diff line change 1
1
[versions ]
2
- agp = " 8.4.0 "
2
+ agp = " 8.4.2 "
3
3
kotlin = " 1.9.0"
4
4
kotlinxCoroutines = " 1.6.4"
5
5
junit = " 4.13.2"
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
plugins {
18
- id ' ndksamples.android.library'
18
+ id ' ndksamples.android.library'
19
19
}
20
20
21
21
android {
@@ -47,13 +47,14 @@ android {
47
47
headers " src/main/cpp/include"
48
48
}
49
49
}
50
-
51
- // Avoid packing the unnecessary libraries into final AAR. For details
52
- // refer to https://issuetracker.google.com/issues/168777344#comment5
53
- // Note that if your AAR also contains Java/Kotlin APIs, you should not
54
- // exclude libraries that are used by those APIs.
55
50
packagingOptions {
56
- exclude(" **/libmylibrary.so" )
57
- exclude(" **/libc++_shared.so" )
51
+ // Avoid packing the unnecessary libraries into final AAR. For details
52
+ // refer to https://issuetracker.google.com/issues/168777344#comment5
53
+ // Note that if your AAR also contains Java/Kotlin APIs, you should not
54
+ // exclude libraries that are used by those APIs.
55
+ jniLibs {
56
+ excludes + = [' **/libmylibrary.so' , ' **/libc++_shared.so' ]
57
+ }
58
58
}
59
+
59
60
}
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ android {
24
24
viewBinding true
25
25
prefab true
26
26
}
27
-
28
27
packagingOptions {
29
28
// Libraries that are wrongly included in the junit-gtest AAR that will
30
29
// end up in our APK if we don't explicitly exclude them.
31
- exclude " **/libadder.so "
32
- exclude " **/libapptest.so"
33
- exclude " **/libc++_shared.so "
30
+ jniLibs {
31
+ excludes + = [ ' **/libadder.so ' , ' **/ libapptest.so' , ' **/libc++_shared.so ' ]
32
+ }
34
33
}
34
+
35
35
}
36
36
37
37
dependencies {
You can’t perform that action at this time.
0 commit comments