Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / games / chess / build.gradle.kts
build.gradle.kts29 lines · 869 BRaw
| 1 | plugins { |
| 2 | id("common-conventions-app") |
| 3 | // Listing screenshots come from Compose previews (src/screenshotTest), not from an |
| 4 | // instrumented test on a device. Same `:games:chess:metadata` task name either way. |
| 5 | id("common-conventions-preview-metadata") |
| 6 | } |
| 7 | |
| 8 | launcherIcon { |
| 9 | symbol = "chess" |
| 10 | } |
| 11 | |
| 12 | android { |
| 13 | defaultConfig { |
| 14 | applicationId = "com.vayunmathur.games.chess" |
| 15 | } |
| 16 | androidResources { |
| 17 | // Maia3's weights are read in place through an `AssetFileDescriptor`, and |
| 18 | // `AssetManager.openFd` throws for a deflated entry. Costs nothing on download size: |
| 19 | // fp16 weights barely compress. |
| 20 | noCompress += "maml" |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | dependencies { |
| 25 | implementation(project(":sdk:games")) |
| 26 | implementation(project(":library:ml")) |
| 27 | implementation(project(":library:network")) |
| 28 | implementation(libs.androidx.browser) |
| 29 | } |