Skip to main content

Migration from v8

Look for a straightforward migration of the PhotoEditor SDK v8.

1. Update the Plugin to v9#

There are no compatibility changes on the Gradle Plugin itself. Simply update the version.

groovy
// Add the PESDK repository and plugin dependency
buildscript {
repositories {
google()
gradlePluginPortal()
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
}
dependencies {
// Insert the latest SDK version number here. You will find it here https://github.com/imgly/pesdk-android-demo/releases
classpath 'ly.img.android.pesdk:plugin:9.0.0'
}
}

2. Migrate your project to AndroidX#

Version 9 uses AndroidX instead of the deprecated Support Library.

If your project already uses AndroidX, there will be no change required.

If your project uses Support Library, you will have to migrate your project to AndroidX to be able to use version 9 of the SDK. See Migrating to AndroidX for more details.