Skip to content

Commit

Permalink
Merge pull request #130 from KakaoCup/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Vacxe authored Aug 7, 2024
2 parents 4ff09f3 + a4f6096 commit ac7f0a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,10 @@ materialVersion = "1.12.0"

detekt = "1.17.1"

guavaVersion = "33.2.1-android"

githubApiVersion = "1.318"

[libraries]
com-android-tools-build-gradle = { group = "com.android.tools.build", name = "gradle", version.ref = "agpVersion" }
guava = { module = "com.google.guava:guava", version.ref = "guavaVersion" }
org-jetbrains-kotlin-kotlinGradlePlugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlinVersion" }

com-google-android-material = { group = "com.google.android.material", name = "material", version.ref = "materialVersion" }
Expand Down
2 changes: 0 additions & 2 deletions kakao/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ dependencies {

implementation(libs.androidx.multidex.multidex)

implementation(libs.guava)

dokkaHtmlPlugin(libs.org.jetbrains.dokka.kotlinAsJavaPlugin)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import android.util.Log
import androidx.test.espresso.UiController
import androidx.test.espresso.action.MotionEvents
import androidx.test.espresso.action.Swiper
import com.google.common.base.Preconditions.checkElementIndex

object PreciseSwipe : Swiper {
override fun sendSwipe(
Expand Down Expand Up @@ -53,8 +52,8 @@ object PreciseSwipe : Swiper {
}

private fun interpolate(start: FloatArray, end: FloatArray, steps: Int): Array<FloatArray> {
checkElementIndex(1, start.size)
checkElementIndex(1, end.size)
require(1 in start.indices)
require(1 in end.indices)

val res = Array(steps) { FloatArray(2) }

Expand Down

0 comments on commit ac7f0a6

Please sign in to comment.