-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
85 lines (72 loc) · 2.26 KB
/
build.gradle
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
85
buildscript {
repositories {
mavenCentral()
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
}
}
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
applicationId 'org.codeaurora.gallery'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
compileOptions {
targetCompatibility 1.8
sourceCompatibility 1.8
}
lintOptions {
abortOnError false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),
'proguard.flags'
}
}
sourceSets {
main {
res.srcDirs = ['res', 'res_p']
java.srcDirs = ['src','gallerycommon/src', 'src_pd','../hex-gallery/XMPCore/src', '../hex-gallery/mp4parser/isoparser/src/main/java', '../hex-gallery/apache-http/src']
renderscript.srcDirs = ['gallerycommon/src']
manifest.srcFile 'AndroidManifest.xml'
jniLibs {
srcDir 'jniLibs'
}
}
}
externalNativeBuild {
ndkBuild {
path file('jni/Android.mk')
}
}
}
repositories {
mavenCentral()
jcenter()
google()
}
final String SUPPORT_LIBS_VERSION = '1.0.0'
dependencies {
implementation "androidx.core:core:${SUPPORT_LIBS_VERSION}"
implementation "androidx.appcompat:appcompat:${SUPPORT_LIBS_VERSION}"
implementation "com.google.android.material:material:${SUPPORT_LIBS_VERSION}"
implementation "androidx.legacy:legacy-support-v13:${SUPPORT_LIBS_VERSION}"
implementation "androidx.fragment:fragment:${SUPPORT_LIBS_VERSION}"
implementation "androidx.legacy:legacy-support-core-utils:${SUPPORT_LIBS_VERSION}"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test:rules:1.1.0'
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
}