fix release build
This commit is contained in:
parent
dbc7b73336
commit
e49c5f2d35
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
package info.nightscout.rx.annotations
|
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.
|
* In production the class remains final.
|
||||||
*/
|
*/
|
||||||
@Target(AnnotationTarget.CLASS)
|
@Target(AnnotationTarget.CLASS)
|
||||||
|
|
|
@ -29,5 +29,5 @@ dependencies {
|
||||||
|
|
||||||
allOpen {
|
allOpen {
|
||||||
// allows mocking for classes w/o directly opening them for release builds
|
// allows mocking for classes w/o directly opening them for release builds
|
||||||
annotation 'info.nightscout.androidaps.annotations.DbOpenForTesting'
|
annotation 'info.nightscout.database.annotations.DbOpenForTesting'
|
||||||
}
|
}
|
|
@ -48,5 +48,5 @@ dependencies {
|
||||||
|
|
||||||
allOpen {
|
allOpen {
|
||||||
// allows mocking for classes w/o directly opening them for release builds
|
// allows mocking for classes w/o directly opening them for release builds
|
||||||
annotation 'info.nightscout.androidaps.annotations.DbOpenForTesting'
|
annotation 'info.nightscout.database.annotations.DbOpenForTesting'
|
||||||
}
|
}
|
|
@ -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.
|
* Annotate a class with [DbOpenForTesting] if it should be extendable for testing.
|
Loading…
Add table
Reference in a new issue