oliviergauthier / gradle-appcenter-plugin

This gradle plugin allow you to upload each build variant of your android application to separate AppCenter Apps.
MIT License
84 stars 44 forks source link

AGP 3.6 compatibility #41

Closed emartynov closed 4 years ago

emartynov commented 4 years ago

Good afternoon!

The AGP 3.6.0 is on the path to release. And AppCenter plugin is not compatible with it:

Caused by: java.lang.NoSuchMethodError: com.android.build.gradle.tasks.PackageAndroidArtifact.getOutputDirectory()Ljava/io/File;
        at com.betomorrow.gradle.appcenter.AppCenterPlugin.handleVariant(AppCenterPlugin.kt:48)
        at com.betomorrow.gradle.appcenter.AppCenterPlugin.access$handleVariant(AppCenterPlugin.kt:12)
        at com.betomorrow.gradle.appcenter.AppCenterPlugin$apply$$inlined$with$lambda$1.execute(AppCenterPlugin.kt:29)
        at com.betomorrow.gradle.appcenter.AppCenterPlugin$apply$$inlined$with$lambda$1.execute(AppCenterPlugin.kt:12)
        ...