-
Notifications
You must be signed in to change notification settings - Fork 649
/
app.build.gradle.in
84 lines (72 loc) · 1.56 KB
/
app.build.gradle.in
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
77
78
79
80
81
82
83
84
plugins {
id 'com.android.application'
}
ext.vvl_version='1.3.275.0'
apply from: "./download_vvl.gradle"
android {
compileSdk 33
buildToolsVersion "33.0.0"
ndkVersion "25.2.9519653"
defaultConfig {
applicationId "com.khronos.vulkan_samples"
@MIN_SDK_VERSION@
targetSdk 33
versionCode 1
versionName "1.0"
externalNativeBuild {
@CMAKE_ARGUMENTS@
}
}
buildTypes {
debug {
debuggable true
jniDebuggable true
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
signingConfig debug.signingConfig
}
applicationVariants.all{variant ->
variant.outputs.each{output->
def tempName = output.outputFile.name
tempName = tempName.replace("app-", "vulkan_samples-")
output.outputFileName = tempName
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
sourceSets {
main {
@ASSETS_SRC_DIRS@
@RES_SRC_DIRS@
@JAVA_SRC_DIRS@
@JNI_LIBS_SRC_DIRS@
@MANIFEST_FILE@
}
}
externalNativeBuild {
cmake {
version "3.22.1"
@CMAKE_PATH@
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
buildFeatures {
viewBinding true
prefab true
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.core:core:1.9.0'
implementation 'androidx.games:games-activity:2.0.0'
}