diff --git a/CHANGELOG.md b/CHANGELOG.md index f3361274..a29fed6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 3.1.5 +- Bump up transcoder to 0.11.2 +- Enhancement: support pass-through audio with more than 2 channels +- Update build.gradle +- Update example app + ## 3.1.4 - Removes references to v1 Flutter Android embedding classes. diff --git a/README.md b/README.md index 1c4681da..0ff0ccb6 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,21 @@ with `pub`: $ pub get ``` +For Android, in settings.gradle file, update this in pluginManagement [ shown in example app ] +```` + buildscript { + repositories { + mavenCentral() + maven { + url = uri("https://storage.googleapis.com/r8-releases/raw") + } + } + dependencies { + classpath("com.android.tools:r8:8.2.24") + } + } +```` + ### 3. Import it Now in your `Dart` code, you can use: diff --git a/android/build.gradle b/android/build.gradle index 45da423b..6b21faee 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.1.1' + classpath 'com.android.tools.build:gradle:8.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } @@ -56,5 +56,5 @@ android { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" - implementation 'com.otaliastudios:transcoder:0.10.5' + implementation 'com.otaliastudios:transcoder:0.11.2' } diff --git a/android/gradle.properties b/android/gradle.properties index 53ae0ae4..df5979cc 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,4 @@ +org.gradle.jvmargs=-Xmx2048m android.enableJetifier=true android.useAndroidX=true -org.gradle.jvmargs=-Xmx1536M +android.enableR8.fullMode=false \ No newline at end of file diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index aed1030c..0d4faac0 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip diff --git a/example/android/settings.gradle b/example/android/settings.gradle index c5fb685a..f9715ed6 100644 --- a/example/android/settings.gradle +++ b/example/android/settings.gradle @@ -1,4 +1,16 @@ pluginManagement { + buildscript { + repositories { + mavenCentral() + maven { + url = uri("https://storage.googleapis.com/r8-releases/raw") + } + } + dependencies { + classpath("com.android.tools:r8:8.2.24") + } + } + def flutterSdkPath = { def properties = new Properties() file("local.properties").withInputStream { properties.load(it) } diff --git a/pubspec.yaml b/pubspec.yaml index c29378f5..929233b4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: video_compress description: Light library of video manipulation of Flutter. Compress video, remove audio, get video thumbnail from dart code. -version: 3.1.4 +version: 3.1.5 homepage: https://github.com/jonataslaw/VideoCompress environment: