:shade-android-media wraps the Kotlin MediaReader as a Media3 DataSource, so ExoPlayer plays and seeks any container from a sealed file; a tampered segment fails the read instead of reaching the decoder. :shade-media-demo opens a shared watch link and plays it. Verified: Robolectric — byte-exact reads whole and in ranges, tamper refusal, ExoPlayer plays a sealed H.264/AAC clip to the end and reopens mid-file on seek. Kotlin suite 80/0. Not yet run on a device. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
28 lines
720 B
Kotlin
28 lines
720 B
Kotlin
rootProject.name = "shade-kotlin"
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
}
|
|
|
|
include(":shade-android")
|
|
project(":shade-android").projectDir = file("shade-android")
|
|
|
|
include(":shade-android-keystore")
|
|
project(":shade-android-keystore").projectDir = file("shade-android-keystore")
|
|
include(":shade-android-media")
|
|
project(":shade-android-media").projectDir = file("shade-android-media")
|
|
include(":shade-media-demo")
|
|
project(":shade-media-demo").projectDir = file("shade-media-demo")
|