mirror of
https://github.com/revanced/revanced-integrations.git
synced 2025-01-05 01:25:50 +01:00
build: update Kotlin and SDKs (#173)
This commit is contained in:
parent
34a6829aaf
commit
07acc4dc1f
@ -7,14 +7,14 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk = 32
|
compileSdk = 33
|
||||||
buildToolsVersion = "32.0.0"
|
buildToolsVersion = "33.0.0"
|
||||||
namespace = "app.revanced.integrations"
|
namespace = "app.revanced.integrations"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "app.revanced.integrations"
|
applicationId = "app.revanced.integrations"
|
||||||
minSdk = 23
|
minSdk = 23
|
||||||
targetSdk = 32
|
targetSdk = 33
|
||||||
versionCode = 1
|
versionCode = 1
|
||||||
versionName = "1.0"
|
versionName = "1.0"
|
||||||
multiDexEnabled = false
|
multiDexEnabled = false
|
||||||
|
@ -70,7 +70,7 @@ class ClassicSwipeController(
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDoubleTapEvent(motionEvent: MotionEvent?): Boolean {
|
override fun onDoubleTapEvent(motionEvent: MotionEvent): Boolean {
|
||||||
MotionEvent.obtain(motionEvent).let {
|
MotionEvent.obtain(motionEvent).let {
|
||||||
controller.dispatchDownstreamTouchEvent(it)
|
controller.dispatchDownstreamTouchEvent(it)
|
||||||
it.recycle()
|
it.recycle()
|
||||||
@ -79,7 +79,7 @@ class ClassicSwipeController(
|
|||||||
return super.onDoubleTapEvent(motionEvent)
|
return super.onDoubleTapEvent(motionEvent)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onLongPress(motionEvent: MotionEvent?) {
|
override fun onLongPress(motionEvent: MotionEvent) {
|
||||||
MotionEvent.obtain(motionEvent).let {
|
MotionEvent.obtain(motionEvent).let {
|
||||||
controller.dispatchDownstreamTouchEvent(it)
|
controller.dispatchDownstreamTouchEvent(it)
|
||||||
it.recycle()
|
it.recycle()
|
||||||
|
@ -6,7 +6,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:7.3.0")
|
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
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
Loading…
Reference in New Issue
Block a user