Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / cast / build.gradle.kts
build.gradle.kts34 lines · 1.3 KiBRaw
| 1 | plugins { |
| 2 | id("common-conventions-app") |
| 3 | id("common-conventions-preview-metadata") |
| 4 | } |
| 5 | |
| 6 | launcherIcon { |
| 7 | symbol = "cast" |
| 8 | } |
| 9 | |
| 10 | android { |
| 11 | defaultConfig { |
| 12 | applicationId = "com.vayunmathur.cast" |
| 13 | } |
| 14 | // MediaProxyServer is sockets and lifecycle, and every branch of it logs. Its teardown is worth |
| 15 | // proving on the JVM, so android.util.Log has to answer rather than throw. |
| 16 | testOptions { |
| 17 | unitTests.isReturnDefaultValues = true |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | dependencies { |
| 22 | // Compile-only stubs for `com.android.media.remotedisplay`, the remote display provider API. |
| 23 | // A shared library on the system image, pulled in at runtime by the `<uses-library>` tag; |
| 24 | // must NOT be packaged. See :library:aosp-stubs. |
| 25 | compileOnly(project(":library:aosp-stubs")) |
| 26 | // The wire format, shared verbatim with the TV receiver. Nothing here re-implements it. |
| 27 | implementation(project(":cast:protocol")) |
| 28 | // The IPC contract, shared with every app that streams its content through here. Depended on |
| 29 | // rather than duplicated, which is the one thing FamilyLocationProtocol gets wrong. |
| 30 | implementation(project(":sdk:cast")) |
| 31 | } |
| 32 | |
| 33 | // No Rust crate. The protocol module already reaches ML-KEM through :library:e2ee-p2p, and |
| 34 | // everything left here is Android platform work: MediaProjection, MediaCodec, sockets. |