Skip to content

Commit

Permalink
Gradle and multidex changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed May 17, 2024
1 parent 4eb2e0c commit 19426b7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 37 deletions.
19 changes: 10 additions & 9 deletions just_audio/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ android {
if (project.android.hasProperty("namespace")) {
namespace 'com.ryanheise.just_audio'
}
compileSdkVersion 33
compileSdk 34

defaultConfig {
minSdkVersion 16
minSdk 16
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand All @@ -46,12 +46,13 @@ android {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}

dependencies {
def exoplayer_version = "2.18.7"
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-hls:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:$exoplayer_version"
dependencies {
def exoplayer_version = "2.18.7"
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-hls:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-smoothstreaming:$exoplayer_version"
}
}

6 changes: 3 additions & 3 deletions just_audio/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
namespace 'com.ryanheise.just_audio_example'
compileSdkVersion 33
compileSdk 34

lintOptions {
disable 'InvalidPackage'
Expand All @@ -35,8 +35,8 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.ryanheise.just_audio_example"
minSdkVersion 19
targetSdkVersion 33
minSdk flutter.minSdkVersion
targetSdk 34
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down

This file was deleted.

0 comments on commit 19426b7

Please sign in to comment.