forked from videolan/vlc-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
92 lines (90 loc) · 3.1 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
86
87
88
89
90
91
92
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.android_plugin_version = '4.2.1'
ext.kotlin_version = '1.4.31'
ext.kotlinx_version = '1.4.1'
repositories {
flatDir dirs: "gradle/plugins"
google()
mavenCentral()
mavenLocal()
}
dependencies {
classpath "com.android.tools.build:gradle:$android_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
tasks.withType(Javadoc) {
// Ignores errors from mavenAndroidJavadocs task
// (reference: github.com/novoda/bintray-release/issues/71#issuecomment-164324255)
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}
ext {
appId = "org.videolan.vlc"
versionName = '3.4.0 Beta 6'
versionCode = 3030460
libvlcVersion = '3.4.0-eap9'
medialibraryVersion = '0.9.0-eap9'
minSdkVersion = 17
targetSdkVersion = 29
compileSdkVersion = 29
androidxLegacyVersion = '1.0.0'
androidxCoreVersion = '1.3.2'
appCompatVersion = '1.2.0'
lifecycleVersion = '2.3.1'
androidxPreferencesVersion = '1.1.1'
androidxVersion = '1.1.0'
androidxActivityVersion = '1.2.2'
androidxFragmentVersion = '1.3.3'
androidxAnnotationVersion = '1.2.0'
androidxRecyclerviewVersion = '1.2.0'
androidxMediaVersion = '1.1.0'
androidxLeanbackVersion = '1.0.0'
//fixme : When we update this dep, please verify of this issue is fixed: https://github.com/material-components/material-components-android/issues/1086
// if so, revert application/vlc-android/res/values[-v21]/styles.xml -> AppModalStyle
androidxMaterialVersion = '1.3.0'
//fixme: when updating to 2.1.x+, we should remove the 'layout_optimizationLevel' attribute we added in some layouts as a workaround for this issue: https://issuetracker.google.com/issues/170313444
constraintLayoutVersion = '2.0.4'
viewPager2Version = "1.0.0"
archVersion = '2.1.0'
roomVersion = '2.3.0'
pagingVersion = '2.1.2'
junitVersion = '4.13'
mockito = '2.25.0'
//Retrofit 2.7 drops Android 5 support
retrofit = '2.6.4'
moshi = '1.8.0'
powerMock = '2.0.2'
espressoVersion = '3.3.0'
livedataTest = '1.2.0'
robolectric = '4.3.1'
mockk = '1.9.3'
supportTest = '1.1.2'
orchestrator = '1.1.0'
testCore = '1.3.0'
// versionCode scheme is T M NN RR AA
// T: Target/Flavour (1 for Android, 2 for Chrome?)
// M: Major version from 0 to 9
// NN: Minor version from 00 to 99
// RR: Micro/Revision version from 00 to 99
// AA: ABI from 0 to 99
// 0 is dev
// 1 was ARMv5 (deprecated)
// 2 was ARMv6-nofpu (deprecated)
// 3 was ARMv6-fpu (deprecated)
// 4 is ARMv7-A
// 5 is x86
// 6 is MIPS
// 7 is ARMv8
// 8 is x86_64
// 9 is MIPS64
}