Skip to content

Commit

Permalink
Remove indirect usage of now deprecated conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored and SUPERCILEX committed Dec 13, 2023
1 parent f5abe00 commit 04cf600
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -178,7 +177,7 @@ internal abstract class PlayPublisherPlugin @Inject constructor(

val baseExtension = project.extensions.getByType<PlayPublisherExtension>()
val extensionContainer = project.container<PlayPublisherExtension>()
val android = project.the<BaseAppModuleExtension>()
val android = project.extensions.getByType<BaseAppModuleExtension>()
(android as ExtensionAware).extensions.add(PLAY_CONFIGS_PATH, extensionContainer)

val androidExtension = project.extensions.getByType<ApplicationAndroidComponentsExtension>()
Expand Down

0 comments on commit 04cf600

Please sign in to comment.