From da1a349e4485c6fbdb215bd4fb2b4e47c3d552ab Mon Sep 17 00:00:00 2001 From: Gourav Saxena Date: Tue, 29 Nov 2022 11:58:41 +0530 Subject: [PATCH 1/3] - `compileSdkVersion` and `targetSdkVersion` to 33 - Updated gradle wrapper to v7.3.3 --- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- smartswitchplugin/build.gradle | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 2552d20..8f6f78d 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { maven { url "https://jitpack.io" } } dependencies { - classpath 'com.android.tools.build:gradle:7.0.3' + classpath 'com.android.tools.build:gradle:7.2.1' //classpath 'com.novoda:bintray-release:0.9.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 29e4134..669386b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/smartswitchplugin/build.gradle b/smartswitchplugin/build.gradle index 6dfc1ca..cfa54ed 100644 --- a/smartswitchplugin/build.gradle +++ b/smartswitchplugin/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android' apply from: 'version.gradle' android { - compileSdkVersion 31 + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -11,7 +11,7 @@ android { defaultConfig { minSdkVersion 16 - targetSdkVersion 30 + targetSdkVersion 33 versionCode 1 versionName libVersion From 0de005a0c0658f35200c8e2c0c48c20824823bb6 Mon Sep 17 00:00:00 2001 From: Gourav Saxena Date: Fri, 2 Dec 2022 16:35:05 +0530 Subject: [PATCH 2/3] - Upgraded KTX and kotlin version to the latest stable --- build.gradle | 2 +- smartswitchplugin/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 8f6f78d..9172082 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ buildscript { - ext.kotlin_version = '1.5.20' + ext.kotlin_version = '1.7.10' repositories { google() mavenCentral() diff --git a/smartswitchplugin/build.gradle b/smartswitchplugin/build.gradle index cfa54ed..d950bed 100644 --- a/smartswitchplugin/build.gradle +++ b/smartswitchplugin/build.gradle @@ -38,7 +38,7 @@ dependencies { //implementation project(':tvplayer') implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" - implementation 'androidx.core:core-ktx:1.3.2' + implementation 'androidx.core:core-ktx:1.9.0' implementation 'androidx.appcompat:appcompat:1.4.0' implementation 'com.google.android.material:material:1.4.0' testImplementation 'junit:junit:4.+' From 1f22b1664461450bc56a26a33fda66e9323e415b Mon Sep 17 00:00:00 2001 From: Gourav Saxena Date: Tue, 6 Dec 2022 12:20:39 +0530 Subject: [PATCH 3/3] - Updated min sdk version because in kaltura player has min sdk 17 --- smartswitchplugin/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartswitchplugin/build.gradle b/smartswitchplugin/build.gradle index d950bed..d56b29d 100644 --- a/smartswitchplugin/build.gradle +++ b/smartswitchplugin/build.gradle @@ -10,7 +10,7 @@ android { } defaultConfig { - minSdkVersion 16 + minSdkVersion 17 targetSdkVersion 33 versionCode 1 versionName libVersion