Skip to content

Commit

Permalink
[Added] added android namespace
Browse files Browse the repository at this point in the history
[UPDATED] updated java and kotlin version
  • Loading branch information
pintusingh28 committed Dec 17, 2024
1 parent f91f9f1 commit 90f0dd4
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ 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()
mavenCentral()
}

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"
}
}
Expand All @@ -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 {
Expand All @@ -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"
}

0 comments on commit 90f0dd4

Please sign in to comment.