From e49c5f2d3514a79b343a143c9779a3ab27669a5f Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sun, 13 Nov 2022 17:34:20 +0100 Subject: [PATCH] fix release build --- .../java/info/nightscout/rx/annotations/RxOpenForTesting.kt | 2 +- database/entities/build.gradle | 2 +- database/impl/build.gradle | 2 +- .../{androidaps => database}/annotations/DbOpenForTesting.kt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename database/impl/src/release/java/info/nightscout/{androidaps => database}/annotations/DbOpenForTesting.kt (80%) diff --git a/app-wear-shared/rx/src/release/java/info/nightscout/rx/annotations/RxOpenForTesting.kt b/app-wear-shared/rx/src/release/java/info/nightscout/rx/annotations/RxOpenForTesting.kt index 7b067babec..fbb976549d 100644 --- a/app-wear-shared/rx/src/release/java/info/nightscout/rx/annotations/RxOpenForTesting.kt +++ b/app-wear-shared/rx/src/release/java/info/nightscout/rx/annotations/RxOpenForTesting.kt @@ -1,7 +1,7 @@ package info.nightscout.rx.annotations /** - * Annotate a class with [DbOpenForTesting] if it should be extendable for testing. + * Annotate a class with [RxOpenForTesting] if it should be extendable for testing. * In production the class remains final. */ @Target(AnnotationTarget.CLASS) diff --git a/database/entities/build.gradle b/database/entities/build.gradle index 21c10dbaba..07c96a225a 100644 --- a/database/entities/build.gradle +++ b/database/entities/build.gradle @@ -29,5 +29,5 @@ dependencies { allOpen { // allows mocking for classes w/o directly opening them for release builds - annotation 'info.nightscout.androidaps.annotations.DbOpenForTesting' + annotation 'info.nightscout.database.annotations.DbOpenForTesting' } \ No newline at end of file diff --git a/database/impl/build.gradle b/database/impl/build.gradle index f30d9b538c..420ae6ed4b 100644 --- a/database/impl/build.gradle +++ b/database/impl/build.gradle @@ -48,5 +48,5 @@ dependencies { allOpen { // allows mocking for classes w/o directly opening them for release builds - annotation 'info.nightscout.androidaps.annotations.DbOpenForTesting' + annotation 'info.nightscout.database.annotations.DbOpenForTesting' } \ No newline at end of file diff --git a/database/impl/src/release/java/info/nightscout/androidaps/annotations/DbOpenForTesting.kt b/database/impl/src/release/java/info/nightscout/database/annotations/DbOpenForTesting.kt similarity index 80% rename from database/impl/src/release/java/info/nightscout/androidaps/annotations/DbOpenForTesting.kt rename to database/impl/src/release/java/info/nightscout/database/annotations/DbOpenForTesting.kt index 66704666fe..b22fa11e2f 100644 --- a/database/impl/src/release/java/info/nightscout/androidaps/annotations/DbOpenForTesting.kt +++ b/database/impl/src/release/java/info/nightscout/database/annotations/DbOpenForTesting.kt @@ -1,4 +1,4 @@ -package info.nightscout.androidaps.annotations +package info.nightscout.database.annotations /** * Annotate a class with [DbOpenForTesting] if it should be extendable for testing.