From 4fe8195c3c65d993be04884e2ff196eea4b8cf26 Mon Sep 17 00:00:00 2001 From: tonihei Date: Tue, 14 Mar 2023 14:05:26 +0000 Subject: [PATCH] Bump version numbers to Media3 1.0.0 and ExoPlayer 2.18.5 #minor-release PiperOrigin-RevId: 516514583 --- constants.gradle | 4 ++-- .../com/google/android/exoplayer2/ExoPlayerLibraryInfo.java | 6 +++--- media3-migration.sh | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/constants.gradle b/constants.gradle index fe6f6c299c..3e799796b8 100644 --- a/constants.gradle +++ b/constants.gradle @@ -13,8 +13,8 @@ // limitations under the License. project.ext { // ExoPlayer version and version code. - releaseVersion = '2.18.4' - releaseVersionCode = 2_018_004 + releaseVersion = '2.18.5' + releaseVersionCode = 2_018_005 minSdkVersion = 16 appTargetSdkVersion = 33 // API version before restricting local file access. diff --git a/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java b/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java index e02c09c8c5..943a1a094c 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/ExoPlayerLibraryInfo.java @@ -27,11 +27,11 @@ public final class ExoPlayerLibraryInfo { /** The version of the library expressed as a string, for example "1.2.3". */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION_INT) or vice versa. - public static final String VERSION = "2.18.4"; + public static final String VERSION = "2.18.5"; /** The version of the library expressed as {@code TAG + "/" + VERSION}. */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final String VERSION_SLASHY = "ExoPlayerLib/2.18.4"; + public static final String VERSION_SLASHY = "ExoPlayerLib/2.18.5"; /** * The version of the library expressed as an integer, for example 1002003. @@ -41,7 +41,7 @@ public final class ExoPlayerLibraryInfo { * integer version 123045006 (123-045-006). */ // Intentionally hardcoded. Do not derive from other constants (e.g. VERSION) or vice versa. - public static final int VERSION_INT = 2_018_004; + public static final int VERSION_INT = 2_018_005; /** Whether the library was compiled with {@link Assertions} checks enabled. */ public static final boolean ASSERTIONS_ENABLED = true; diff --git a/media3-migration.sh b/media3-migration.sh index dbe0930601..b201e0a608 100644 --- a/media3-migration.sh +++ b/media3-migration.sh @@ -128,8 +128,8 @@ extension-workmanager media3-exoplayer-workmanager' # Rewrites classes, packages and dependencies from the legacy ExoPlayer package structure # to androidx.media3 structure. -MEDIA3_VERSION="1.0.0-rc02" -LEGACY_PEER_VERSION="2.18.4" +MEDIA3_VERSION="1.0.0" +LEGACY_PEER_VERSION="2.18.5" function usage() { echo "usage: $0 [-p|-c|-d|-v]|[-m|-l [-x ] [-f] PROJECT_ROOT]"