~repos /only-bible-app
git clone https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
ecf8a010
—
pyrossh 1 year ago
add iosApp target
- app/build.gradle.kts +11 -11
- gradle/libs.versions.toml +2 -3
- settings.gradle.kts +16 -8
app/build.gradle.kts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
|
|
2
2
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
3
3
|
import java.io.FileInputStream
|
|
4
|
-
import java.util.
|
|
4
|
+
import java.util.*
|
|
5
5
|
|
|
6
6
|
val keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
7
7
|
val keystoreProperties = Properties()
|
|
@@ -25,16 +25,16 @@ kotlin {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
listOf(
|
|
29
|
-
|
|
29
|
+
iosX64(),
|
|
30
|
-
|
|
30
|
+
iosArm64(),
|
|
31
|
-
|
|
31
|
+
iosSimulatorArm64()
|
|
32
|
-
|
|
32
|
+
).forEach { iosTarget ->
|
|
33
|
-
|
|
33
|
+
iosTarget.binaries.framework {
|
|
34
|
-
|
|
34
|
+
baseName = "App"
|
|
35
|
-
|
|
35
|
+
isStatic = true
|
|
36
|
-
// }
|
|
37
|
-
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
38
|
|
|
39
39
|
sourceSets {
|
|
40
40
|
androidMain.dependencies {
|
gradle/libs.versions.toml
CHANGED
|
@@ -8,15 +8,14 @@ junit = "4.13.2"
|
|
|
8
8
|
junitVersion = "1.2.1"
|
|
9
9
|
activityCompose = "1.9.1"
|
|
10
10
|
navigationCompose = "2.8.0-alpha08"
|
|
11
|
-
|
|
11
|
+
viewmodel = "2.8.0"
|
|
12
12
|
multiplatformSettings = "1.1.1"
|
|
13
13
|
composePlugin = "1.6.11"
|
|
14
14
|
secretsGradlePlugin = "2.0.1"
|
|
15
15
|
|
|
16
16
|
[libraries]
|
|
17
|
-
|
|
17
|
+
androidx-lifecycle-viewmodel-compose = { module = "org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "viewmodel" }
|
|
18
18
|
androidx-navigation-compose = { module = "org.jetbrains.androidx.navigation:navigation-compose", version.ref = "navigationCompose" }
|
|
19
|
-
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycleViewmodelCompose" }
|
|
20
19
|
multiplatform-settings = { module = "com.russhwolf:multiplatform-settings", version.ref = "multiplatformSettings" }
|
|
21
20
|
speech-client-sdk = { module = "com.microsoft.cognitiveservices.speech:client-sdk", version.ref = "speechClientSdk" }
|
|
22
21
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
settings.gradle.kts
CHANGED
|
@@ -1,23 +1,31 @@
|
|
|
1
|
+
rootProject.name = "OnlyBibleApp"
|
|
2
|
+
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
3
|
+
|
|
1
4
|
pluginManagement {
|
|
2
5
|
repositories {
|
|
3
6
|
google {
|
|
4
|
-
|
|
7
|
+
mavenContent {
|
|
5
|
-
includeGroupByRegex("com\\.android.*")
|
|
6
|
-
includeGroupByRegex("com\\.google.*")
|
|
7
|
-
|
|
8
|
+
includeGroupAndSubgroups("androidx")
|
|
9
|
+
includeGroupAndSubgroups("com.android")
|
|
10
|
+
includeGroupAndSubgroups("com.google")
|
|
8
11
|
}
|
|
9
12
|
}
|
|
10
13
|
mavenCentral()
|
|
11
14
|
gradlePluginPortal()
|
|
12
15
|
}
|
|
13
16
|
}
|
|
17
|
+
|
|
14
18
|
dependencyResolutionManagement {
|
|
15
|
-
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
16
19
|
repositories {
|
|
17
|
-
google
|
|
20
|
+
google {
|
|
21
|
+
mavenContent {
|
|
22
|
+
includeGroupAndSubgroups("androidx")
|
|
23
|
+
includeGroupAndSubgroups("com.android")
|
|
24
|
+
includeGroupAndSubgroups("com.google")
|
|
25
|
+
}
|
|
26
|
+
}
|
|
18
27
|
mavenCentral()
|
|
19
28
|
}
|
|
20
29
|
}
|
|
21
30
|
|
|
22
|
-
rootProject.name = "BibleApp"
|
|
23
|
-
include(":app")
|
|
31
|
+
include(":app")
|