Skip to content

Commit 0e1a2b2

Browse files
committed
Add version 3.2.0
1 parent 8d03a81 commit 0e1a2b2

File tree

10 files changed

+65
-76
lines changed

10 files changed

+65
-76
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [3.2.0]
2+
3+
### Changed
4+
5+
* Updated minimum supported Flutter SDK version to 3.16.
6+
7+
### Fixed
8+
9+
* Fixed incompatibility with Flutter 3.19+ caused by the deprecation of the imperative Gradle apply script method.
10+
111
## [3.1.0]
212

313
### Changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Add the plugin package to the `pubspec.yaml` file in your project:
3030

3131
```yaml
3232
dependencies:
33-
video_editor_sdk: ^3.1.0
33+
video_editor_sdk: ^3.2.0
3434
```
3535
3636
Install the new dependency:
@@ -172,7 +172,8 @@ Rename your license files:
172172
- Android license: `vesdk_license.android`
173173
- iOS license: `vesdk_license.ios`
174174

175-
Pass the file path without the extension to the `unlockWithLicense` function to unlock both iOS and Android:
175+
The licenses should be located on a project level. We recommend putting them into the `{PROJECT_ROOT}/assets/` folder.
176+
Pass the relative file path (based on the project root) without the extension to the `unlockWithLicense` function to unlock both iOS and Android:
176177

177178
```dart
178179
VESDK.unlockWithLicense("assets/vesdk_license");

android/build.gradle

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,10 @@
11
group 'ly.img.flutter.video_editor_sdk'
22
version '1.0-SNAPSHOT'
33

4-
buildscript {
5-
ext.kotlin_version = '1.7.21'
6-
7-
repositories {
8-
google()
9-
mavenCentral()
10-
}
11-
12-
dependencies {
13-
classpath 'com.android.tools.build:gradle:8.1.2'
14-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
15-
}
16-
}
17-
18-
rootProject.allprojects {
19-
repositories {
20-
google()
21-
mavenCentral()
22-
}
23-
}
24-
254
apply plugin: 'com.android.library'
265
apply plugin: 'kotlin-android'
276
apply plugin: 'ly.img.android.sdk'
7+
apply plugin: "com.google.devtools.ksp"
288

299
IMGLY.configure {
3010
vesdk {
@@ -75,7 +55,6 @@ android {
7555
}
7656

7757
dependencies {
78-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
7958
compileOnly "ly.img.android.sdk:serializer:$imglyConfig.version"
8059
compileOnly rootProject.findProject(":imgly_sdk")
8160
}

example/android/app/build.gradle

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
plugins {
2+
id "com.android.application"
3+
id "kotlin-android"
4+
id "dev.flutter.flutter-gradle-plugin"
5+
id "ly.img.android.sdk"
6+
id "com.google.devtools.ksp"
7+
}
8+
19
def localProperties = new Properties()
210
def localPropertiesFile = rootProject.file('local.properties')
311
if (localPropertiesFile.exists()) {
@@ -6,11 +14,6 @@ if (localPropertiesFile.exists()) {
614
}
715
}
816

9-
def flutterRoot = localProperties.getProperty('flutter.sdk')
10-
if (flutterRoot == null) {
11-
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12-
}
13-
1417
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
1518
if (flutterVersionCode == null) {
1619
flutterVersionCode = '1'
@@ -21,10 +24,9 @@ if (flutterVersionName == null) {
2124
flutterVersionName = '1.0'
2225
}
2326

24-
apply plugin: 'com.android.application'
25-
apply plugin: 'kotlin-android'
26-
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27-
apply plugin: 'ly.img.android.sdk'
27+
project.buildscript.configurations.getByName("classpath").dependencies.any { dependency ->
28+
println(name)
29+
}
2830

2931
IMGLY.configure {
3032
modules {
@@ -93,8 +95,4 @@ android {
9395

9496
flutter {
9597
source '../..'
96-
}
97-
98-
dependencies {
99-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
100-
}
98+
}

example/android/build.gradle

+2-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,15 @@
11
buildscript {
2-
ext.kotlin_version = '1.7.21'
3-
ext.vesdk_version = '10.9.0'
4-
52
repositories {
63
google()
74
mavenCentral()
8-
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
9-
}
10-
11-
dependencies {
12-
classpath 'com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.7.21-1.0.8'
13-
classpath 'com.android.tools.build:gradle:8.1.2'
14-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
15-
classpath "ly.img.android.pesdk:plugin:$vesdk_version"
165
}
176
}
187

198
allprojects {
209
repositories {
2110
google()
2211
mavenCentral()
12+
maven { url "https://artifactory.img.ly/artifactory/imgly" }
2313
}
2414
}
2515

@@ -33,10 +23,4 @@ subprojects {
3323

3424
tasks.register("clean", Delete) {
3525
delete rootProject.buildDir
36-
}
37-
38-
allprojects {
39-
repositories {
40-
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
41-
}
42-
}
26+
}

example/android/settings.gradle

+25-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
1-
include ':app'
1+
pluginManagement {
2+
def flutterSdkPath = {
3+
def properties = new Properties()
4+
file("local.properties").withInputStream { properties.load(it) }
5+
def flutterSdkPath = properties.getProperty("flutter.sdk")
6+
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
7+
return flutterSdkPath
8+
}()
29

3-
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4-
def properties = new Properties()
10+
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
511

6-
assert localPropertiesFile.exists()
7-
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
12+
repositories {
13+
google()
14+
mavenCentral()
15+
gradlePluginPortal()
16+
maven { url "https://artifactory.img.ly/artifactory/imgly" }
17+
}
18+
}
819

9-
def flutterSdkPath = properties.getProperty("flutter.sdk")
10-
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11-
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
20+
plugins {
21+
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22+
id "com.android.application" version "8.1.2" apply false
23+
id "org.jetbrains.kotlin.android" version "1.7.21" apply false
24+
id "com.google.devtools.ksp" version "1.7.21-1.0.8" apply false
25+
id "ly.img.android.sdk" version "10.9.0" apply false
26+
}
27+
28+
include ":app"

example/ios/Podfile.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
PODS:
22
- Flutter (1.0.0)
3-
- imgly_sdk (3.1.0):
3+
- imgly_sdk (3.2.0):
44
- Flutter
55
- imglyKit (~> 11.4)
6-
- imglyKit (11.8.1)
7-
- video_editor_sdk (3.1.0):
6+
- imglyKit (11.10.0)
7+
- video_editor_sdk (3.2.0):
88
- Flutter
9-
- imgly_sdk (= 3.1.0)
9+
- imgly_sdk (= 3.2.0)
1010

1111
DEPENDENCIES:
1212
- Flutter (from `Flutter`)
@@ -27,9 +27,9 @@ EXTERNAL SOURCES:
2727

2828
SPEC CHECKSUMS:
2929
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
30-
imgly_sdk: a1eb428ecbe210db5e089a06ee4e5a64d2f94c10
31-
imglyKit: daebaf36406434d9efaa475386522d09456cee95
32-
video_editor_sdk: 1d450fa61d41b424666023ea1fdf463ad47aa279
30+
imgly_sdk: e512f1e5804683ec0d521e797a15626432ed4538
31+
imglyKit: 709ba7929c4b6633797938065b5514126e1dc235
32+
video_editor_sdk: 01f764bee638aa2e14bcdf483f4e438f0d3568f9
3333

3434
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011
3535

example/ios/Runner.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
97C146E61CF9000F007C117D /* Project object */ = {
156156
isa = PBXProject;
157157
attributes = {
158-
LastUpgradeCheck = 1510;
158+
LastUpgradeCheck = 1430;
159159
ORGANIZATIONNAME = "";
160160
TargetAttributes = {
161161
97C146ED1CF9000F007C117D = {

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1510"
3+
LastUpgradeVersion = "1430"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: video_editor_sdk
22
description: The official Flutter plugin for VideoEditor SDK. Integrate the video editor into your own iOS or Android app - in minutes!
3-
version: 3.1.0
3+
version: 3.2.0
44
homepage: https://img.ly/products/video-sdk
55
repository: https://github.com/imgly/vesdk-flutter
66

77
environment:
88
sdk: ">=2.12.0 <3.0.0"
9-
flutter: ">=1.20.0"
9+
flutter: ">=3.16.0"
1010

1111
dependencies:
1212
flutter:
1313
sdk: flutter
14-
imgly_sdk: 3.1.0
14+
imgly_sdk: 3.2.0
1515

1616
dev_dependencies:
1717
flutter_test:

0 commit comments

Comments
 (0)