buildSrc/src/main/kotlin/AndroidPlayStorePublisher.kt
changeset 100 9ec927c219b0
parent 75 534a19e25217
--- a/buildSrc/src/main/kotlin/AndroidPlayStorePublisher.kt	Mon Mar 09 14:41:46 2026 -0400
+++ b/buildSrc/src/main/kotlin/AndroidPlayStorePublisher.kt	Mon Mar 09 16:20:21 2026 -0400
@@ -21,7 +21,7 @@
  */
 package com.geekorum.build
 
-import com.android.build.gradle.AppExtension
+import com.android.build.api.dsl.ApplicationExtension
 import com.github.triplet.gradle.play.PlayPublisherExtension
 import org.gradle.api.NamedDomainObjectContainer
 import org.gradle.api.Project
@@ -47,7 +47,7 @@
         serviceAccountCredentials.set(file(properties["PLAY_STORE_JSON_KEY_FILE"]!!))
     }
 
-    val android = the<AppExtension>() as ExtensionAware
+    val android = the<ApplicationExtension>() as ExtensionAware
 
     tasks.apply {
         register("publishToGooglePlayStore") {