build: update Kotlin and SDKs (#173)

This commit is contained in:
Patryk Miś 2022-10-11 15:47:14 +02:00 committed by GitHub
parent 34a6829aaf
commit 07acc4dc1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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()
@ -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()

View File

@ -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