Skip to content

Commit

Permalink
pacakge annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
vegaro committed Feb 7, 2025
1 parent d6f5a6c commit 9d098fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ tmp/

# kotlin
annotations/
!ui/revenuecatui/src/main/kotlin/com/emergetools/snapshots/annotations/IgnoreEmergeSnapshot.kt
!/ui/revenuecatui/src/main/kotlin/com/emergetools/snapshots/annotations/
.project
purchases/.classpath
purchase-tester/.classpath
Expand Down
2 changes: 0 additions & 2 deletions ui/revenuecatui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ android {
}

dependencies {
debugImplementation libs.emerge.snapshots.annotations

implementation project(path: ':purchases')

implementation(platform(libs.kotlin.bom))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package com.emergetools.snapshots.annotations

/**
* Specifies the annotated function is a Preview that should be ignored by Emerge snapshotting.
*/
@Target(AnnotationTarget.FUNCTION)
internal annotation class IgnoreEmergeSnapshot

0 comments on commit 9d098fd

Please sign in to comment.