Skip to content

Commit b6492e3

Browse files
committed
Run upgrade assistant.
Studio keeps bothering me to update AGP. This is that (and the other migrations).
1 parent 7c60318 commit b6492e3

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.4.0"
2+
agp = "8.4.2"
33
kotlin = "1.9.0"
44
kotlinxCoroutines = "1.6.4"
55
junit = "4.13.2"

prefab/prefab-publishing/mylibrary/build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
plugins {
18-
id 'ndksamples.android.library'
18+
id 'ndksamples.android.library'
1919
}
2020

2121
android {
@@ -47,13 +47,14 @@ android {
4747
headers "src/main/cpp/include"
4848
}
4949
}
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.
5550
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+
}
5858
}
59+
5960
}

unit-test/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ android {
2424
viewBinding true
2525
prefab true
2626
}
27-
2827
packagingOptions {
2928
// Libraries that are wrongly included in the junit-gtest AAR that will
3029
// 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+
}
3433
}
34+
3535
}
3636

3737
dependencies {

0 commit comments

Comments
 (0)