-
Notifications
You must be signed in to change notification settings - Fork 132
Expand file tree
/
Copy pathbuild.gradle
More file actions
executable file
·76 lines (72 loc) · 2.63 KB
/
build.gradle
File metadata and controls
executable file
·76 lines (72 loc) · 2.63 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
apply plugin: 'com.android.application'
android {
compileSdkVersion 36
defaultConfig {
applicationId "com.sdl.hellosdlandroid"
minSdkVersion 21
targetSdkVersion 36
versionCode 1
versionName "1.0"
resValue "string", "app_name", "Hello Sdl Android"
buildConfigField 'String', 'APP_TYPE', '"DEFAULT"'
buildConfigField 'String', 'REQUIRE_AUDIO_OUTPUT', '"FALSE"'
buildConfigField 'String', 'SDL_APP_NAME', '"Hello Sdl"'
buildConfigField 'String', 'SDL_APP_ID', '"8678309"'
manifestPlaceholders = [
appIcon: "@mipmap/ic_launcher"
]
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
flavorDimensions "default"
productFlavors {
multi_sec_high {
buildConfigField 'String', 'TRANSPORT', '"MULTI"'
buildConfigField 'String', 'SECURITY', '"HIGH"'
}
multi_sec_med {
buildConfigField 'String', 'TRANSPORT', '"MULTI"'
buildConfigField 'String', 'SECURITY', '"MED"'
}
multi_sec_low {
buildConfigField 'String', 'TRANSPORT', '"MULTI"'
buildConfigField 'String', 'SECURITY', '"LOW"'
}
multi_sec_off {
buildConfigField 'String', 'TRANSPORT', '"MULTI"'
buildConfigField 'String', 'SECURITY', '"OFF"'
}
multi_high_bandwidth {
buildConfigField 'String', 'TRANSPORT', '"MULTI_HB"'
buildConfigField 'String', 'SECURITY', '"OFF"'
}
tcp {
buildConfigField 'String', 'TRANSPORT', '"TCP"'
buildConfigField 'String', 'SECURITY', '"OFF"'
}
requiresAudioOutput {
buildConfigField 'String', 'TRANSPORT', '"MULTI"'
buildConfigField 'String', 'SECURITY', '"OFF"'
buildConfigField 'String', 'APP_TYPE', '"MEDIA"'
buildConfigField 'String', 'REQUIRE_AUDIO_OUTPUT', '"TRUE"'
}
}
lintOptions {
disable 'GoogleAppIndexingWarning'
}
namespace 'com.sdl.hellosdlandroid'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation project(path: ':sdl_android')
testImplementation 'junit:junit:4.13.2'
}