Fix build failures.

This commit is contained in:
Miku AuahDark
2023-09-28 16:06:20 +08:00
parent 90dd5df090
commit 65693ca2ff
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -19,7 +19,6 @@ android {
externalNativeBuild { externalNativeBuild {
cmake { cmake {
arguments "-DANDROID_STL=c++_shared" arguments "-DANDROID_STL=c++_shared"
cppFlags "-Wno-error=cast-function-type-strict"
// https://issuetracker.google.com/issues/274493986 // https://issuetracker.google.com/issues/274493986
// Transitive shared library that's added through `add_dependencies` is not taken into // Transitive shared library that's added through `add_dependencies` is not taken into
// account. This result in liboboe.so and libluajit.so not get included into the final // account. This result in liboboe.so and libluajit.so not get included into the final
@@ -172,3 +171,8 @@ dependencies {
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation 'com.google.oboe:oboe:1.7.0' implementation 'com.google.oboe:oboe:1.7.0'
} }
// We don't even use Kotlin. Why we have to suffer...
configurations.implementation {
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-jdk8'
}