2014-11-14 00:17:23 +08:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
2019-12-16 17:15:04 +08:00
|
|
|
ext.android_plugin_version = '3.5.3'
|
2019-09-09 20:58:56 +08:00
|
|
|
ext.kotlin_version = '1.3.50'
|
|
|
|
ext.kotlinx_version = '1.3.1'
|
2014-11-14 00:17:23 +08:00
|
|
|
repositories {
|
2016-03-30 00:21:58 +08:00
|
|
|
flatDir dirs: "gradle/plugins"
|
2017-11-06 23:21:42 +08:00
|
|
|
google()
|
2014-11-14 00:17:23 +08:00
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
dependencies {
|
2017-11-06 23:55:55 +08:00
|
|
|
classpath "com.android.tools.build:gradle:$android_plugin_version"
|
2018-11-21 23:33:22 +08:00
|
|
|
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
|
2017-11-06 23:55:55 +08:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
2018-11-21 23:33:22 +08:00
|
|
|
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
|
2014-11-14 00:17:23 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-16 23:22:15 +08:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2017-11-06 23:21:42 +08:00
|
|
|
google()
|
2018-11-27 21:32:13 +08:00
|
|
|
maven {
|
2018-12-07 20:48:52 +08:00
|
|
|
url "https://dl.bintray.com/videolan/Android"
|
2018-11-27 21:32:13 +08:00
|
|
|
}
|
2018-12-18 23:34:31 +08:00
|
|
|
jcenter()
|
2016-12-16 23:22:15 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-11-20 21:12:46 +08:00
|
|
|
ext {
|
2019-07-31 21:32:09 +08:00
|
|
|
versionName = '3.3.0-dev'
|
|
|
|
versionCode = 3030000
|
2019-11-27 18:49:25 +08:00
|
|
|
libvlcVersion = '3.2.2'
|
|
|
|
medialibraryVersion = '0.7.0-eap01'
|
2018-10-18 22:00:22 +08:00
|
|
|
minSdkVersion = 17
|
2019-10-15 16:50:49 +08:00
|
|
|
targetSdkVersion = 29
|
|
|
|
compileSdkVersion = 29
|
2019-07-25 23:09:22 +08:00
|
|
|
androidxLegacyVersion = '1.0.0'
|
2019-09-10 23:42:23 +08:00
|
|
|
androidxCoreVersion = '1.1.0'
|
2019-12-09 20:54:46 +08:00
|
|
|
lifecycleVersion = '2.2.0-rc02'
|
2019-09-10 23:42:23 +08:00
|
|
|
androidxPreferencesVersion = '1.1.0'
|
|
|
|
androidxVersion = '1.1.0'
|
2019-12-09 20:54:46 +08:00
|
|
|
androidxActivityVersion = '1.1.0-rc02'
|
|
|
|
androidxFragmentVersion = '1.2.0-rc02'
|
2019-07-25 23:09:22 +08:00
|
|
|
androidxAnnotationVersion = '1.1.0'
|
2019-09-10 23:42:23 +08:00
|
|
|
androidxAppcompatVersion = '1.1.0'
|
2019-12-09 20:54:46 +08:00
|
|
|
androidxRecyclerviewVersion = '1.1.0'
|
2019-07-25 23:09:22 +08:00
|
|
|
androidxLeanbackVersion = '1.0.0'
|
2019-12-02 19:22:14 +08:00
|
|
|
androidxMaterialVersion = '1.1.0-beta02'
|
2019-01-21 16:46:43 +08:00
|
|
|
constraintLayoutVersion = '1.1.3'
|
2019-09-10 23:42:23 +08:00
|
|
|
archVersion = '2.1.0'
|
2019-12-09 20:54:46 +08:00
|
|
|
roomVersion = '2.2.2'
|
2019-03-21 00:45:58 +08:00
|
|
|
pagingVersion = '2.1.0'
|
2018-07-24 21:58:37 +08:00
|
|
|
junitVersion = '4.12'
|
2018-08-09 00:23:22 +08:00
|
|
|
mockito = '2.8.9'
|
|
|
|
powerMock = '1.7.4'
|
2019-07-31 21:27:20 +08:00
|
|
|
retrofit = '2.6.1'
|
2019-10-18 16:05:28 +08:00
|
|
|
moshi = '1.8.0'
|
2019-01-21 16:46:43 +08:00
|
|
|
espressoVersion = '3.1.1'
|
|
|
|
supportTest = '1.1.0'
|
2017-04-20 15:50:50 +08:00
|
|
|
// 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
|
2015-02-08 06:53:30 +08:00
|
|
|
}
|