diff --git a/android/build.gradle b/android/build.gradle index 40d3f6b57..ad9387871 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,13 +2,13 @@ group 'com.jhomlala.better_player.better_player' version '1.0-SNAPSHOT' buildscript { - ext.exoPlayerVersion = "2.17.1" - ext.lifecycleVersion = "2.4.0-beta01" + ext.exoPlayerVersion = "2.19.1" + ext.lifecycleVersion = "2.8.7" ext.annotationVersion = "1.2.0" - ext.workVersion = "2.7.0" + ext.workVersion = "2.10.0" ext.coreVersion = "1.6.0" ext.gradleVersion = "7.0.2" - ext.kotlinVersion = "1.5.31" + ext.kotlinVersion = "1.9.20" repositories { google() @@ -16,7 +16,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:4.1.0' + classpath 'com.android.tools.build:gradle:8.4.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" } } @@ -32,15 +32,15 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 31 + compileSdkVersion 35 compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { - jvmTarget = '1.8' + jvmTarget = '17' } sourceSets { @@ -64,8 +64,10 @@ android { implementation "androidx.annotation:annotation:$annotationVersion" implementation "androidx.work:work-runtime:$workVersion" } + + namespace 'com.jhomlala.better_player.better_player' } dependencies { - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" + implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" }