vlc-android/build.gradle

93 lines
3.1 KiB
Groovy
Raw Normal View History

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.android_plugin_version = '7.1.0'
2021-04-27 03:51:16 +08:00
ext.kotlin_version = '1.4.31'
2021-03-04 14:10:01 +08:00
ext.kotlinx_version = '1.4.1'
repositories {
2016-03-30 00:21:58 +08:00
flatDir dirs: "gradle/plugins"
2017-11-06 23:21:42 +08:00
google()
2021-03-23 17:05:09 +08:00
mavenCentral()
mavenLocal()
2021-03-23 17:05:09 +08:00
}
dependencies {
2017-11-06 23:55:55 +08:00
classpath "com.android.tools.build:gradle:$android_plugin_version"
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'
2021-03-23 17:05:09 +08:00
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
}
}
2016-12-16 23:22:15 +08:00
allprojects {
repositories {
2017-11-06 23:21:42 +08:00
google()
mavenCentral()
2016-12-16 23:22:15 +08:00
}
2020-04-08 00:30:04 +08:00
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')
}
2016-12-16 23:22:15 +08:00
}
ext {
appId = "org.videolan.vlc"
2022-02-14 19:16:39 +08:00
versionName = '3.4.4'
versionCode = 3040400
2022-02-28 22:02:46 +08:00
libvlcVersion = '3.5.0-eap3'
medialibraryVersion = '0.11.0-eap3'
2018-10-18 22:00:22 +08:00
minSdkVersion = 17
2021-10-27 14:29:34 +08:00
targetSdkVersion = 30
compileSdkVersion = 30
2019-07-25 23:09:22 +08:00
androidxLegacyVersion = '1.0.0'
2021-03-04 14:10:01 +08:00
androidxCoreVersion = '1.3.2'
appCompatVersion = '1.2.0'
2021-04-27 03:51:16 +08:00
lifecycleVersion = '2.3.1'
2020-04-20 21:59:34 +08:00
androidxPreferencesVersion = '1.1.1'
2019-09-10 23:42:23 +08:00
androidxVersion = '1.1.0'
2021-04-27 03:51:16 +08:00
androidxActivityVersion = '1.2.2'
androidxFragmentVersion = '1.3.3'
androidxAnnotationVersion = '1.2.0'
androidxRecyclerviewVersion = '1.2.0'
androidxMediaVersion = '1.1.0'
2019-07-25 23:09:22 +08:00
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.4.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
2021-03-04 14:10:01 +08:00
constraintLayoutVersion = '2.0.4'
2021-01-05 04:29:54 +08:00
viewPager2Version = "1.0.0"
2019-09-10 23:42:23 +08:00
archVersion = '2.1.0'
2021-04-27 03:31:02 +08:00
roomVersion = '2.3.0'
2020-04-20 21:59:34 +08:00
pagingVersion = '2.1.2'
2020-09-30 20:04:30 +08:00
junitVersion = '4.13'
mockito = '2.25.0'
2021-04-27 03:51:16 +08:00
//Retrofit 2.7 drops Android 5 support
retrofit = '2.6.4'
moshi = '1.8.0'
2019-03-22 18:52:35 +08:00
powerMock = '2.0.2'
2020-09-30 20:04:30 +08:00
espressoVersion = '3.3.0'
2021-08-03 21:23:46 +08:00
livedataTest = '1.2.0'
2019-12-06 22:37:35 +08:00
robolectric = '4.3.1'
mockk = '1.9.3'
2020-09-30 20:04:30 +08:00
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
}