-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.gradle
More file actions
92 lines (83 loc) · 2.72 KB
/
build.gradle
File metadata and controls
92 lines (83 loc) · 2.72 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
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 = '3.3.2'
ext.kotlin_version = '1.3.21'
ext.kotlinx_version = '1.1.1'
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
dependencies {
classpath "com.android.tools.build:gradle:$android_plugin_version"
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.google.firebase:firebase-plugins:1.2.0'
classpath 'io.fabric.tools:gradle:1.26.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
flatDir {
dirs project(':libvlc').file('libs')
dirs project(':acestream-engine-android-core').file('libs')
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
admobUseTestAds = "false"
admobUseTestDevices = "false"
appodealUseTestAds = "false"
//tmp: change to "false" later
enableDebugLogging = "true"
useTestBackend = "false"
allowExternalPlayers = "true"
playServicesVersion = '16.1.2'
playServicesAuthVersion = '16.0.1'
playServicesAdsVersion = '17.2.1'
constraintLayoutVersion = '1.1.3'
compileSdkVersion = 28
minSdkVersionRegular = 17
minSdkVersionAtv = 21
targetSdkVersion = 26
//
minSdkVersion = 17
androidxCoreVersion = '1.0.1'
androidxPreferencesVersion = '1.1.0-alpha04'
androidxVersion = '1.0.0'
androidxAnnotationVersion = '1.0.1'
androidxAppcompatVersion = '1.0.2'
archVersion = '2.0.0'
roomVersion = '2.0.0'
pagingVersion = '2.1.0'
junitVersion = '4.12'
retrofitVersion = '2.4.0'
// okhttp 3.12.0 has an issue: https://github.com/square/okhttp/issues/4395
// use 3.11.0 for now
okHttpVersion = '3.11.0'
//
versionName = '3.1.51.0'
versionCode = 301510000
// MNNRRSSPA
// versionCode scheme is M NN RR A
// M: Major version from 0 to 9 (engine)
// NN: Minor version from 00 to 99 (engine)
// RR: Micro version 1 from 00 to 99 (engine)
// SS: Micro version 2 from 00 to 99 (different java wrappers with the same engine)
// P: App priority from 0 to 9 (1 - core, 2 - media)
// A: ABI from 0 to 9
// 1 is ARMv7-A
// 2 is x86
// 9 is universal
}