build.gradle
775 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
id 'com.android.application'
}
android {
namespace 'com.tencent.yolo11ncnn'
compileSdk 33
defaultConfig {
applicationId "com.tencent.yolo11ncnn"
archivesBaseName = "$applicationId"
minSdk 24
externalNativeBuild {
cmake {
arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
}
}
}
externalNativeBuild {
cmake {
version "3.31.5"
path file('src/main/jni/CMakeLists.txt')
}
}
dependencies {
implementation 'com.android.support:support-v4:24.0.0'
}
packaging {
jniLibs {
useLegacyPackaging true
}
}
buildToolsVersion '36.0.0'
ndkVersion '27.2.12479018'
}