diff --git a/play/plugin/src/main/kotlin/com/github/triplet/gradle/play/PlayPublisherPlugin.kt b/play/plugin/src/main/kotlin/com/github/triplet/gradle/play/PlayPublisherPlugin.kt index 073fc317e..8269d8cb4 100644 --- a/play/plugin/src/main/kotlin/com/github/triplet/gradle/play/PlayPublisherPlugin.kt +++ b/play/plugin/src/main/kotlin/com/github/triplet/gradle/play/PlayPublisherPlugin.kt @@ -64,7 +64,6 @@ import org.gradle.kotlin.dsl.named import org.gradle.kotlin.dsl.newInstance import org.gradle.kotlin.dsl.registerIfAbsent import org.gradle.kotlin.dsl.setProperty -import org.gradle.kotlin.dsl.the import org.gradle.kotlin.dsl.withType import javax.inject.Inject @@ -178,7 +177,7 @@ internal abstract class PlayPublisherPlugin @Inject constructor( val baseExtension = project.extensions.getByType() val extensionContainer = project.container() - val android = project.the() + val android = project.extensions.getByType() (android as ExtensionAware).extensions.add(PLAY_CONFIGS_PATH, extensionContainer) val androidExtension = project.extensions.getByType()