diff --git a/build.gradle b/build.gradle index 51821714..bde6f941 100644 --- a/build.gradle +++ b/build.gradle @@ -23,5 +23,4 @@ allprojects { task clean(type: Delete) { delete rootProject.buildDir } - apply from: "${rootDir}/scripts/publish-root.gradle" \ No newline at end of file diff --git a/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt b/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt index ae595c8c..2821b234 100644 --- a/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt +++ b/library/src/main/java/com/adevinta/android/barista/internal/viewaction/SwipeActions.kt @@ -26,6 +26,7 @@ import com.adevinta.android.barista.internal.viewaction.ViewPager2SwipeAction.Di import org.hamcrest.Matcher import org.hamcrest.Matchers.allOf import org.hamcrest.Matchers.anyOf +import java.util.Locale object SwipeActions { @@ -142,7 +143,7 @@ private class GeneralSwipeWithPartiallyVisibleViewAction( } override fun getDescription(): String { - return swiper.toString().toLowerCase() + " swipe" + return swiper.toString().lowercase(Locale.getDefault()) + " swipe" } companion object {