From 61770f8a61312cacf596536b614eeb49f6abab6e Mon Sep 17 00:00:00 2001 From: christosts Date: Tue, 17 Oct 2023 09:57:13 -0700 Subject: [PATCH] Publish MIDI decoder module on Maven repository Issue: androidx/media#734 #minor-release PiperOrigin-RevId: 574182702 --- RELEASENOTES.md | 3 +++ libraries/decoder_midi/README.md | 2 +- libraries/decoder_midi/build.gradle | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 4039af1450..4f8995591d 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -52,6 +52,9 @@ * Smooth Streaming Extension: * RTSP Extension: * Decoder Extensions (FFmpeg, VP9, AV1, MIDI, etc.): + * Fix bug publishing MIDI decoder artifact to Maven repository. The + artifact is renamed to `media3-exoplayer-midi` + ([#734](https://github.com/androidx/media/issues/734)). * Leanback extension: * Cast Extension: * Test Utilities: diff --git a/libraries/decoder_midi/README.md b/libraries/decoder_midi/README.md index 7b216dff1d..57c9929132 100644 --- a/libraries/decoder_midi/README.md +++ b/libraries/decoder_midi/README.md @@ -9,7 +9,7 @@ MIDI commands and render the PCM output. The easiest way to get the module is to add it as a gradle dependency: ```gradle -implementation 'androidx.media3:lib-decoder-midi:1.X.X' +implementation 'androidx.media3:media3-exoplayer-midi:1.X.X' ``` where `1.X.X` is the version, which must match the version of the other media diff --git a/libraries/decoder_midi/build.gradle b/libraries/decoder_midi/build.gradle index e9bbc8e89b..e0f1afb411 100644 --- a/libraries/decoder_midi/build.gradle +++ b/libraries/decoder_midi/build.gradle @@ -34,3 +34,9 @@ dependencies { testImplementation project(modulePrefix + 'test-data') testImplementation 'org.robolectric:robolectric:' + robolectricVersion } + +ext { + releaseArtifactId = 'media3-exoplayer-midi' + releaseName = 'Media3 MIDI decoder module' +} +apply from: '../../publish.gradle'