Recently Written · git

subread-android

SubRead for Android: times an audiobook against its ebook on the device

git clone https://github.com/equwal/subread-android

Log | Files | Refs


settings.gradle.kts (933 bytes)

1 pluginManagement {
2     repositories {
3         google {
4             content {
5                 includeGroupByRegex("com\\.android.*")
6                 includeGroupByRegex("com\\.google.*")
7                 includeGroupByRegex("androidx.*")
8             }
9         }
10         mavenCentral()
11         gradlePluginPortal()
12     }
13 }
14 dependencyResolutionManagement {
15     repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
16     repositories {
17         google()
18         mavenCentral()
19     }
20 }
21 
22 rootProject.name = "SubRead"
23 
24 // The alignment engine is plain Kotlin and builds anywhere there is a JDK.
25 include(":core")
26 
27 // The app needs the Android SDK. Leaving it out when there is none keeps
28 // `./gradlew :core:test` usable on a machine that only has Java.
29 val hasAndroidSdk = System.getenv("ANDROID_HOME") != null ||
30     System.getenv("ANDROID_SDK_ROOT") != null ||
31     file("local.properties").exists()
32 if (hasAndroidSdk) include(":app")