| ... | ... |
@@ -66,6 +66,9 @@ android {
|
| 66 | 66 |
viewBinding = true |
| 67 | 67 |
compose = true |
| 68 | 68 |
} |
| 69 |
+ lint {
|
|
| 70 |
+ abortOnError = false |
|
| 71 |
+ } |
|
| 69 | 72 |
} |
| 70 | 73 |
|
| 71 | 74 |
dependencies {
|
| ... | ... |
@@ -138,4 +141,4 @@ dependencies {
|
| 138 | 141 |
testImplementation("junit:junit:4.13.2")
|
| 139 | 142 |
testImplementation("com.google.truth:truth:1.1.3")
|
| 140 | 143 |
testImplementation("androidx.room:room-testing:2.6.1")
|
| 141 |
-} |
|
| 142 | 144 |
\ No newline at end of file |
| 145 |
+} |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,141 @@ |
| 1 |
+/* |
|
| 2 |
+ * Copyright (c) 2023 Samson Achiaga |
|
| 3 |
+ * |
|
| 4 |
+ * Licensed under the Apache License, Version 2.0 (the "License"); |
|
| 5 |
+ * you may not use this file except in compliance with the License. |
|
| 6 |
+ * You may obtain a copy of the License at |
|
| 7 |
+ * |
|
| 8 |
+ * http://www.apache.org/licenses/LICENSE-2.0 |
|
| 9 |
+ * |
|
| 10 |
+ * Unless required by applicable law or agreed to in writing, software |
|
| 11 |
+ * distributed under the License is distributed on an "AS IS" BASIS, |
|
| 12 |
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
| 13 |
+ * See the License for the specific language governing permissions and |
|
| 14 |
+ * limitations under the License. |
|
| 15 |
+ */ |
|
| 16 |
+ |
|
| 17 |
+plugins {
|
|
| 18 |
+ id("com.android.application")
|
|
| 19 |
+ kotlin("android")
|
|
| 20 |
+ id("kotlin-kapt")
|
|
| 21 |
+ id("kotlin-parcelize")
|
|
| 22 |
+ id("dagger.hilt.android.plugin")
|
|
| 23 |
+ id("androidx.navigation.safeargs.kotlin")
|
|
| 24 |
+ id("com.google.devtools.ksp")
|
|
| 25 |
+ id("org.jetbrains.kotlin.plugin.compose") version "2.1.0"
|
|
| 26 |
+ kotlin("plugin.serialization") version "2.1.0"
|
|
| 27 |
+} |
|
| 28 |
+ |
|
| 29 |
+android {
|
|
| 30 |
+ compileSdk = 35 |
|
| 31 |
+ namespace = "com.certified.audionote" |
|
| 32 |
+ |
|
| 33 |
+ defaultConfig {
|
|
| 34 |
+ applicationId = "com.certified.audionote" |
|
| 35 |
+ minSdk = 21 |
|
| 36 |
+ targetSdk = 35 |
|
| 37 |
+ versionCode = 7 |
|
| 38 |
+ versionName = "0.1.5.2" |
|
| 39 |
+ |
|
| 40 |
+ testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" |
|
| 41 |
+ |
|
| 42 |
+ ksp {
|
|
| 43 |
+ arg("generateKotlin", "true")
|
|
| 44 |
+ } |
|
| 45 |
+ } |
|
| 46 |
+ |
|
| 47 |
+ buildTypes {
|
|
| 48 |
+ release {
|
|
| 49 |
+ isMinifyEnabled = false |
|
| 50 |
+ isShrinkResources = false |
|
| 51 |
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
| 52 |
+ } |
|
| 53 |
+ } |
|
| 54 |
+ |
|
| 55 |
+ compileOptions {
|
|
| 56 |
+ sourceCompatibility = JavaVersion.VERSION_17 |
|
| 57 |
+ targetCompatibility = JavaVersion.VERSION_17 |
|
| 58 |
+ } |
|
| 59 |
+ |
|
| 60 |
+ kotlinOptions {
|
|
| 61 |
+ jvmTarget = "17" |
|
| 62 |
+ } |
|
| 63 |
+ |
|
| 64 |
+ buildFeatures {
|
|
| 65 |
+ dataBinding = true |
|
| 66 |
+ viewBinding = true |
|
| 67 |
+ compose = true |
|
| 68 |
+ } |
|
| 69 |
+} |
|
| 70 |
+ |
|
| 71 |
+dependencies {
|
|
| 72 |
+ |
|
| 73 |
+ implementation("androidx.core:core-ktx:1.15.0")
|
|
| 74 |
+ implementation("androidx.appcompat:appcompat:1.7.0")
|
|
| 75 |
+ implementation("com.google.android.material:material:1.12.0")
|
|
| 76 |
+ implementation("androidx.constraintlayout:constraintlayout:2.2.0")
|
|
| 77 |
+ implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7")
|
|
| 78 |
+ implementation("androidx.navigation:navigation-fragment-ktx:2.8.5")
|
|
| 79 |
+ implementation("androidx.navigation:navigation-ui-ktx:2.8.5")
|
|
| 80 |
+ implementation("androidx.legacy:legacy-support-v4:1.0.0")
|
|
| 81 |
+ implementation("androidx.preference:preference-ktx:1.2.1")
|
|
| 82 |
+ implementation("androidx.work:work-runtime-ktx:2.10.0")
|
|
| 83 |
+ implementation("androidx.core:core-splashscreen:1.0.1")
|
|
| 84 |
+ |
|
| 85 |
+ // Compose |
|
| 86 |
+ implementation(platform("androidx.compose:compose-bom:2024.12.01"))
|
|
| 87 |
+ implementation("androidx.compose.material3:material3")
|
|
| 88 |
+ implementation("androidx.compose.material:material-icons-extended:1.7.6")
|
|
| 89 |
+ implementation("androidx.compose.ui:ui-tooling-preview")
|
|
| 90 |
+ debugImplementation("androidx.compose.ui:ui-tooling")
|
|
| 91 |
+ implementation("androidx.activity:activity-compose:1.9.3")
|
|
| 92 |
+ implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.8.7")
|
|
| 93 |
+ implementation("androidx.navigation:navigation-compose:2.8.5")
|
|
| 94 |
+ |
|
| 95 |
+ // Intuit ssp/sdp |
|
| 96 |
+ implementation("com.intuit.ssp:ssp-android:1.1.0")
|
|
| 97 |
+ implementation("com.intuit.sdp:sdp-android:1.1.0")
|
|
| 98 |
+ |
|
| 99 |
+ // Coroutines |
|
| 100 |
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
|
|
| 101 |
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0")
|
|
| 102 |
+ |
|
| 103 |
+ // Room persistence library |
|
| 104 |
+ implementation("androidx.room:room-runtime:2.6.1")
|
|
| 105 |
+ implementation("androidx.room:room-ktx:2.6.1")
|
|
| 106 |
+ ksp("androidx.room:room-compiler:2.6.1")
|
|
| 107 |
+ |
|
| 108 |
+ // Datastore |
|
| 109 |
+ implementation("androidx.datastore:datastore-preferences:1.1.1")
|
|
| 110 |
+ |
|
| 111 |
+ // Hilt |
|
| 112 |
+ implementation("com.google.dagger:hilt-android:2.53.1")
|
|
| 113 |
+ ksp("com.google.dagger:hilt-compiler:2.53.1")
|
|
| 114 |
+ ksp("androidx.hilt:hilt-compiler:1.2.0")
|
|
| 115 |
+ implementation("androidx.hilt:hilt-navigation-compose:1.2.0")
|
|
| 116 |
+ |
|
| 117 |
+ // TimerX |
|
| 118 |
+ implementation("com.github.arsvechkarev:TimerX:3.1.0")
|
|
| 119 |
+ |
|
| 120 |
+ // Serilization |
|
| 121 |
+ implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
|
|
| 122 |
+ |
|
| 123 |
+ // Page indicator |
|
| 124 |
+ implementation("com.github.romandanylyk:PageIndicatorView:v.1.0.3")
|
|
| 125 |
+ |
|
| 126 |
+ // Window |
|
| 127 |
+ implementation("androidx.window:window:1.3.0")
|
|
| 128 |
+ |
|
| 129 |
+ // Integration testing |
|
| 130 |
+ androidTestImplementation("androidx.test.ext:junit:1.2.1")
|
|
| 131 |
+ androidTestImplementation("com.google.truth:truth:1.1.3")
|
|
| 132 |
+ androidTestImplementation("androidx.test.espresso:espresso-core:3.6.1")
|
|
| 133 |
+ androidTestImplementation(platform("androidx.compose:compose-bom:2024.12.01"))
|
|
| 134 |
+ androidTestImplementation("androidx.compose.ui:ui-test-junit4")
|
|
| 135 |
+ debugImplementation("androidx.compose.ui:ui-test-manifest")
|
|
| 136 |
+ |
|
| 137 |
+ // Unit testing |
|
| 138 |
+ testImplementation("junit:junit:4.13.2")
|
|
| 139 |
+ testImplementation("com.google.truth:truth:1.1.3")
|
|
| 140 |
+ testImplementation("androidx.room:room-testing:2.6.1")
|
|
| 141 |
+} |
|
| 0 | 142 |
\ No newline at end of file |