Skip to content

Commit

Permalink
Prepare release 5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovgs committed Dec 10, 2020
1 parent c749c3b commit e547537
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class GreetingScreenshotTest : ScreenshotTest {

compareScreenshot(composeRule)
}
}
```

**Since Shot 5.0.0 we provide screenshot testing support for [Jetpack Compose](https://developer.android.com/jetpack/compose).**
Expand Down Expand Up @@ -56,7 +57,7 @@ Setup the Gradle plugin:
// ...
dependencies {
// ...
classpath 'com.karumi:shot:5.4.0'
classpath 'com.karumi:shot:5.5.0'
}
}
apply plugin: 'shot'
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/com/karumi/shot/domain/model.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ object Config {
val androidDependencyMode: FilePath = "androidTestImplementation"
val androidDependencyGroup: String = "com.karumi"
val androidDependencyName: String = "shot-android"
val androidDependencyVersion: String = "5.4.1-SNAPSHOT"
val androidDependencyVersion: String = "5.5.0"
val androidDependency: FilePath =
s"$androidDependencyGroup:$androidDependencyName:$androidDependencyVersion"
def screenshotsFolderName(flavor: String, buildType: String): FilePath =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.scalatest.{FlatSpec, Matchers}
class ConfigSpec extends FlatSpec with Matchers {

"Config" should "use the screenshot tests library implemented by Facebook" in {
Config.androidDependency shouldBe "com.karumi:shot-android:5.4.1-SNAPSHOT"
Config.androidDependency shouldBe "com.karumi:shot-android:5.5.0"
}

it should "add the dependency using the androidTestImplementation mode" in {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=5.4.1-SNAPSHOT
VERSION_CODE=500401
VERSION_NAME=5.5.0
VERSION_CODE=500500
GROUP=com.karumi
POM_DESCRIPTION=Gradle plugin developed to facilitate screenshot testing for Android.
POM_URL=https://github.com/karumi/shot
Expand Down
2 changes: 1 addition & 1 deletion shot-consumer-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:7.0.0-alpha01"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.karumi:shot:5.4.1-SNAPSHOT"
classpath "com.karumi:shot:5.5.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion shot-consumer-flavors/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath "com.neenbedankt.gradle.plugins:android-apt:1.7"
classpath "com.karumi:shot:5.4.1-SNAPSHOT"
classpath "com.karumi:shot:5.5.0"
classpath "com.trevjonez.composer:plugin:1.0.0-rc08"
}
}
Expand Down
2 changes: 1 addition & 1 deletion shot-consumer-flavors/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:4.2.0-beta01"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.karumi:shot:5.4.1-SNAPSHOT"
classpath "com.karumi:shot:5.5.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion shot-consumer/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath "com.neenbedankt.gradle.plugins:android-apt:1.7"
classpath "com.karumi:shot:5.4.1-SNAPSHOT"
classpath "com.karumi:shot:5.5.0"
classpath "com.trevjonez.composer:plugin:1.0.0-rc08"
}
}
Expand Down
2 changes: 1 addition & 1 deletion shot-consumer/app2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath "com.neenbedankt.gradle.plugins:android-apt:1.7"
classpath "com.karumi:shot:5.4.1-SNAPSHOT"
classpath "com.karumi:shot:5.5.0"
classpath "com.trevjonez.composer:plugin:1.0.0-rc08"
}
}
Expand Down
2 changes: 1 addition & 1 deletion shot-consumer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:7.0.0-alpha01"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.karumi:shot:5.4.1-SNAPSHOT'
classpath "com.karumi:shot:5.5.0"
}
}

Expand Down

0 comments on commit e547537

Please sign in to comment.