You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83 lines
2.6 KiB
83 lines
2.6 KiB
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
buildscript {
|
|
ext.android_plugin_version = '3.6.1'
|
|
ext.kotlin_version = '1.3.70'
|
|
ext.kotlinx_version = '1.3.4'
|
|
repositories {
|
|
flatDir dirs: "gradle/plugins"
|
|
google()
|
|
jcenter()
|
|
}
|
|
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'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
google()
|
|
maven {
|
|
url "https://dl.bintray.com/videolan/Android"
|
|
}
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
ext {
|
|
appId = "org.videolan.vlc"
|
|
versionName = '3.3.0-dev'
|
|
versionCode = 3030000
|
|
libvlcVersion = '3.3.0-eap03'
|
|
medialibraryVersion = '0.7.0-eap04'
|
|
minSdkVersion = 17
|
|
targetSdkVersion = 29
|
|
compileSdkVersion = 29
|
|
androidxLegacyVersion = '1.0.0'
|
|
androidxCoreVersion = '1.1.0'
|
|
lifecycleVersion = '2.2.0'
|
|
androidxPreferencesVersion = '1.1.0'
|
|
androidxVersion = '1.1.0'
|
|
androidxActivityVersion = '1.1.0'
|
|
androidxFragmentVersion = '1.2.0'
|
|
androidxAnnotationVersion = '1.1.0'
|
|
androidxAppcompatVersion = '1.1.0'
|
|
androidxRecyclerviewVersion = '1.1.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.1.0-rc02'
|
|
constraintLayoutVersion = '1.1.3'
|
|
archVersion = '2.1.0'
|
|
roomVersion = '2.2.3'
|
|
pagingVersion = '2.1.1'
|
|
junitVersion = '4.12'
|
|
mockito = '2.8.9'
|
|
retrofit = '2.6.1'
|
|
moshi = '1.8.0'
|
|
powerMock = '2.0.2'
|
|
espressoVersion = '3.1.1'
|
|
livedataTest = '1.1.0'
|
|
robolectric = '4.3.1'
|
|
mockk = '1.9.3'
|
|
supportTest = '1.1.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
|
|
}
|
|
|