summaryrefslogtreecommitdiff
path: root/android-app/app/build.gradle
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-22 04:40:36 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-22 04:40:36 +0000
commit64d66c6ae4fde6aa3e66a5dba33950d447af1102 (patch)
tree612734b3803dd61f311e2a837c656832828481cd /android-app/app/build.gradle
parent4d637d284dce6fc674599c226dd063c442fd350f (diff)
refactor: cleanup, simplify, and modularize Android app logic
- Extracted MOB, Instruments, Map, and Anchor Watch logic from MainActivity into dedicated handlers. - Refactored LocationService to use a standalone MockTidalCurrentGenerator. - Removed legacy 'kotlin_old', 'res_old', and 'temp' directories. - Added KDoc documentation to core components and handlers. - Integrated JUnit 5 dependencies and configured the test runner. - Verified all changes with successful unit test execution.
Diffstat (limited to 'android-app/app/build.gradle')
-rw-r--r--android-app/app/build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/android-app/app/build.gradle b/android-app/app/build.gradle
index 0d5703d..264d0c5 100644
--- a/android-app/app/build.gradle
+++ b/android-app/app/build.gradle
@@ -41,6 +41,12 @@ android {
viewBinding true
}
+ testOptions {
+ unitTests.all {
+ useJUnitPlatform()
+ }
+ }
+
sourceSets {
main {
kotlin.srcDirs = ['src/main/kotlin', 'src/main/java']
@@ -92,6 +98,8 @@ dependencies {
// Testing
testImplementation 'junit:junit:4.13.2'
+ testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
+ testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.1'
testImplementation 'io.mockk:mockk:1.13.9'
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3'
testImplementation 'app.cash.turbine:turbine:1.1.0'