From 04cf600b1b57456f521d5f3885322165c8dd9e89 Mon Sep 17 00:00:00 2001 From: Goooler Date: Wed, 13 Dec 2023 12:25:26 +0800 Subject: [PATCH] Remove indirect usage of now deprecated conventions --- .../com/github/triplet/gradle/play/PlayPublisherPlugin.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()