Skip to content

Commit 17a74aa

Browse files
Add jitpack version to readme
1 parent 22add5d commit 17a74aa

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Kotlin Snapshot Testing
22

3-
Use Snapshot testing 📸 and avoid regressions! This is an extensible Kotlin Multiplatform library to easily create Snapshot tests for Android and other Kotlin applications. You can create snapshots of every serializable property, like screenshots or view hierachies, of your application!
3+
[![](https://jitpack.io/v/QuickBirdEng/kotlin-snapshot-testing.svg)](https://jitpack.io/#QuickBirdEng/kotlin-snapshot-testing)
4+
5+
Use Snapshot testing 📸 and avoid regressions! This is an extensible Kotlin Multiplatform library to
6+
easily create Snapshot tests for Android and other Kotlin applications. You can create snapshots of
7+
every serializable property, like screenshots or view hierachies, of your application!
48

59
<img src="https://quickbirdstudios.com/blog/wp-content/uploads/2022/07/Snapshot-2-1024x518.jpeg" alt="Cover-Image" width="800"/>
610

@@ -133,7 +137,7 @@ For more examples and a more detailed explanation see our related article
133137
```kotlin
134138
allprojects {
135139
repositories {
136-
...
140+
//...
137141
maven { url = uri("https://jitpack.io") }
138142
}
139143
}
@@ -144,8 +148,13 @@ allprojects {
144148

145149
```kotlin
146150
dependencies {
147-
...
148-
implementation("com.github.quickbirdstudios.kotlin-snapshot-testing:kotlin-snapshot-testing:1.0.0")
151+
//...
152+
// Android:
153+
implementation("com.github.quickbirdstudios.kotlin-snapshot-testing:snapshot-android:$version")
154+
// Jvm:
155+
implementation("com.github.quickbirdstudios.kotlin-snapshot-testing:snapshot-jvm:$version")
156+
// Common:
157+
implementation("com.github.quickbirdstudios.kotlin-snapshot-testing:snapshot:$version")
149158
}
150159
```
151160

snapshot/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
kotlin {
1010
jvm()
1111
android {
12-
publishLibraryVariants("release", "debug")
12+
publishLibraryVariants("release")
1313
}
1414

1515
sourceSets {

0 commit comments

Comments
 (0)