|
@@ -12,12 +12,12 @@ android {
|
|
|
minSdkVersion MIN_SDK_VERSION
|
|
|
targetSdkVersion TARGET_SDK_VERSION
|
|
|
|
|
|
-// externalNativeBuild {
|
|
|
-// cmake {
|
|
|
-// cppFlags '-std=c++11 -frtti -fexceptions -lz'
|
|
|
-// abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
|
-// }
|
|
|
-// }
|
|
|
+ externalNativeBuild {
|
|
|
+ cmake {
|
|
|
+ cppFlags '-std=c++11 -frtti -fexceptions -lz'
|
|
|
+ abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
ndk {
|
|
|
// 设置支持的SO库架构
|
|
@@ -52,23 +52,23 @@ android {
|
|
|
}
|
|
|
|
|
|
|
|
|
- sourceSets {
|
|
|
- main {
|
|
|
- // let gradle pack the shared library into apk
|
|
|
- jniLibs.srcDirs = ['../soLibs']
|
|
|
- }
|
|
|
- }
|
|
|
-// compileOptions {
|
|
|
-// kotlinOptions.freeCompilerArgs += ['-module-name', "cn.yyxx.eyuangame.core"]
|
|
|
-// }
|
|
|
-
|
|
|
-// externalNativeBuild {
|
|
|
-// cmake {
|
|
|
-// path "CMakeLists.txt"
|
|
|
+// sourceSets {
|
|
|
+// main {
|
|
|
+// // let gradle pack the shared library into apk
|
|
|
+// jniLibs.srcDirs = ['../soLibs']
|
|
|
// }
|
|
|
// }
|
|
|
+ compileOptions {
|
|
|
+ kotlinOptions.freeCompilerArgs += ['-module-name', "cn.yyxx.eyuangame.core"]
|
|
|
+ }
|
|
|
+
|
|
|
+ externalNativeBuild {
|
|
|
+ cmake {
|
|
|
+ path "CMakeLists.txt"
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
-// ndkVersion NDK_VERSION
|
|
|
+ ndkVersion NDK_VERSION
|
|
|
}
|
|
|
|
|
|
dependencies {
|
|
@@ -109,7 +109,6 @@ dependencies {
|
|
|
// api project(':library_base')
|
|
|
// }
|
|
|
api files('libs/eyuangamesdk_base_1.0.0.jar')
|
|
|
-// implementation project(':library_drive')
|
|
|
|
|
|
}
|
|
|
|