Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
build: update Kotlin and SDKs (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykMis authored Oct 11, 2022
1 parent 34a6829 commit 07acc4d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ plugins {
}

android {
compileSdk = 32
buildToolsVersion = "32.0.0"
compileSdk = 33
buildToolsVersion = "33.0.0"
namespace = "app.revanced.integrations"

defaultConfig {
applicationId = "app.revanced.integrations"
minSdk = 23
targetSdk = 32
targetSdk = 33
versionCode = 1
versionName = "1.0"
multiDexEnabled = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ClassicSwipeController(
return false
}

override fun onDoubleTapEvent(motionEvent: MotionEvent?): Boolean {
override fun onDoubleTapEvent(motionEvent: MotionEvent): Boolean {
MotionEvent.obtain(motionEvent).let {
controller.dispatchDownstreamTouchEvent(it)
it.recycle()
Expand All @@ -79,7 +79,7 @@ class ClassicSwipeController(
return super.onDoubleTapEvent(motionEvent)
}

override fun onLongPress(motionEvent: MotionEvent?) {
override fun onLongPress(motionEvent: MotionEvent) {
MotionEvent.obtain(motionEvent).let {
controller.dispatchDownstreamTouchEvent(it)
it.recycle()
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 07acc4d

Please sign in to comment.