From 2b4d818c2070a1f4252216cacc286dd56da7b8f0 Mon Sep 17 00:00:00 2001 From: Luna712 <142361265+Luna712@users.noreply.github.com> Date: Sat, 8 Nov 2025 16:37:49 -0700 Subject: [PATCH] Remove ApkConfigurationProvider We've been using CloudstreamConfigurationProvider for almost a year now. This also only affects build. Extensions can switch next time they build if it's still necessary. I also did PRs awhile ago to switch most over anyway. --- .../configuration/ApkConfigurationProvider.kt | 15 --------------- .../gradle/configuration/Configurations.kt | 5 +---- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/ApkConfigurationProvider.kt diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/ApkConfigurationProvider.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/ApkConfigurationProvider.kt deleted file mode 100644 index 81c78a4..0000000 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/ApkConfigurationProvider.kt +++ /dev/null @@ -1,15 +0,0 @@ -package com.lagradost.cloudstream3.gradle.configuration - -import org.gradle.api.Project -import org.gradle.api.artifacts.Dependency - -// Deprecated, use CloudstreamConfigurationProvider -class ApkConfigurationProvider : IConfigurationProvider { - - override val name: String - get() = "apk" - - override fun provide(project: Project, dependency: Dependency) { - CloudstreamConfigurationProvider().provide(project, dependency) - } -} \ No newline at end of file diff --git a/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/Configurations.kt b/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/Configurations.kt index c99d116..a7a88fc 100644 --- a/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/Configurations.kt +++ b/src/main/kotlin/com/lagradost/cloudstream3/gradle/configuration/Configurations.kt @@ -3,10 +3,7 @@ package com.lagradost.cloudstream3.gradle.configuration import org.gradle.api.Project fun registerConfigurations(project: Project) { - val providers = arrayOf( - ApkConfigurationProvider(), - CloudstreamConfigurationProvider() - ) + val providers = arrayOf(CloudstreamConfigurationProvider()) for (provider in providers) { project.configurations.register(provider.name) {