Commit 0e1a2b2 1 parent 8d03a81 commit 0e1a2b2 Copy full SHA for 0e1a2b2
File tree 10 files changed +65
-76
lines changed
10 files changed +65
-76
lines changed Original file line number Diff line number Diff line change
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
+
1
11
## [ 3.1.0]
2
12
3
13
### Changed
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ Add the plugin package to the `pubspec.yaml` file in your project:
30
30
31
31
``` yaml
32
32
dependencies :
33
- video_editor_sdk : ^3.1 .0
33
+ video_editor_sdk : ^3.2 .0
34
34
` ` `
35
35
36
36
Install the new dependency:
@@ -172,7 +172,8 @@ Rename your license files:
172
172
- Android license: ` vesdk_license.android `
173
173
- iOS license: ` vesdk_license.ios `
174
174
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:
176
177
177
178
``` dart
178
179
VESDK.unlockWithLicense("assets/vesdk_license");
Original file line number Diff line number Diff line change 1
1
group ' ly.img.flutter.video_editor_sdk'
2
2
version ' 1.0-SNAPSHOT'
3
3
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
-
25
4
apply plugin : ' com.android.library'
26
5
apply plugin : ' kotlin-android'
27
6
apply plugin : ' ly.img.android.sdk'
7
+ apply plugin : " com.google.devtools.ksp"
28
8
29
9
IMGLY . configure {
30
10
vesdk {
@@ -75,7 +55,6 @@ android {
75
55
}
76
56
77
57
dependencies {
78
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
79
58
compileOnly " ly.img.android.sdk:serializer:$imglyConfig . version "
80
59
compileOnly rootProject. findProject(" :imgly_sdk" )
81
60
}
Original file line number Diff line number Diff line change
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
+
1
9
def localProperties = new Properties ()
2
10
def localPropertiesFile = rootProject. file(' local.properties' )
3
11
if (localPropertiesFile. exists()) {
@@ -6,11 +14,6 @@ if (localPropertiesFile.exists()) {
6
14
}
7
15
}
8
16
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
-
14
17
def flutterVersionCode = localProperties. getProperty(' flutter.versionCode' )
15
18
if (flutterVersionCode == null ) {
16
19
flutterVersionCode = ' 1'
@@ -21,10 +24,9 @@ if (flutterVersionName == null) {
21
24
flutterVersionName = ' 1.0'
22
25
}
23
26
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
+ }
28
30
29
31
IMGLY . configure {
30
32
modules {
@@ -93,8 +95,4 @@ android {
93
95
94
96
flutter {
95
97
source ' ../..'
96
- }
97
-
98
- dependencies {
99
- implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
100
- }
98
+ }
Original file line number Diff line number Diff line change 1
1
buildscript {
2
- ext. kotlin_version = ' 1.7.21'
3
- ext. vesdk_version = ' 10.9.0'
4
-
5
2
repositories {
6
3
google()
7
4
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 "
16
5
}
17
6
}
18
7
19
8
allprojects {
20
9
repositories {
21
10
google()
22
11
mavenCentral()
12
+ maven { url " https://artifactory.img.ly/artifactory/imgly" }
23
13
}
24
14
}
25
15
@@ -33,10 +23,4 @@ subprojects {
33
23
34
24
tasks. register(" clean" , Delete ) {
35
25
delete rootProject. buildDir
36
- }
37
-
38
- allprojects {
39
- repositories {
40
- maven { url ' https://artifactory.img.ly/artifactory/imgly' }
41
- }
42
- }
26
+ }
Original file line number Diff line number Diff line change 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
+ }()
2
9
3
- def localPropertiesFile = new File (rootProject. projectDir, " local.properties" )
4
- def properties = new Properties ()
10
+ includeBuild(" $flutterSdkPath /packages/flutter_tools/gradle" )
5
11
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
+ }
8
19
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"
Original file line number Diff line number Diff line change 1
1
PODS:
2
2
- Flutter (1.0.0)
3
- - imgly_sdk (3.1 .0):
3
+ - imgly_sdk (3.2 .0):
4
4
- Flutter
5
5
- 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):
8
8
- Flutter
9
- - imgly_sdk (= 3.1 .0)
9
+ - imgly_sdk (= 3.2 .0)
10
10
11
11
DEPENDENCIES:
12
12
- Flutter (from `Flutter`)
@@ -27,9 +27,9 @@ EXTERNAL SOURCES:
27
27
28
28
SPEC CHECKSUMS:
29
29
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
33
33
34
34
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011
35
35
Original file line number Diff line number Diff line change 155
155
97C146E61CF9000F007C117D /* Project object */ = {
156
156
isa = PBXProject;
157
157
attributes = {
158
- LastUpgradeCheck = 1510 ;
158
+ LastUpgradeCheck = 1430 ;
159
159
ORGANIZATIONNAME = "";
160
160
TargetAttributes = {
161
161
97C146ED1CF9000F007C117D = {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<Scheme
3
- LastUpgradeVersion = " 1510 "
3
+ LastUpgradeVersion = " 1430 "
4
4
version = " 1.3" >
5
5
<BuildAction
6
6
parallelizeBuildables = " YES"
Original file line number Diff line number Diff line change 1
1
name : video_editor_sdk
2
2
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
4
4
homepage : https://img.ly/products/video-sdk
5
5
repository : https://github.com/imgly/vesdk-flutter
6
6
7
7
environment :
8
8
sdk : " >=2.12.0 <3.0.0"
9
- flutter : " >=1.20 .0"
9
+ flutter : " >=3.16 .0"
10
10
11
11
dependencies :
12
12
flutter :
13
13
sdk : flutter
14
- imgly_sdk : 3.1 .0
14
+ imgly_sdk : 3.2 .0
15
15
16
16
dev_dependencies :
17
17
flutter_test :
You can’t perform that action at this time.
0 commit comments