Skip to main content
PESDK/Android/Introduction

Migration from v8

Look for a straightforward migration of the PhotoEditor SDK v8.

1. Update the Plugin to v9#

Simply update the plugin version and make sure to add the IMG.LY Maven repository.

// 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'
// Add the Kotlin plugin
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.10'
}
}
allprojects {
repositories {
mavenCentral()
google()
maven { url 'https://artifactory.img.ly/artifactory/imgly' }
}
}

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.