--- a/buildSrc/src/main/kotlin/AndroidSigning.kt Mon Mar 09 14:41:46 2026 -0400
+++ b/buildSrc/src/main/kotlin/AndroidSigning.kt Mon Mar 09 16:20:21 2026 -0400
@@ -21,22 +21,17 @@
*/
package com.geekorum.build
-import com.android.build.api.dsl.*
+import com.android.build.api.dsl.ApplicationExtension
import org.gradle.api.Project
-private typealias AppExtensionWithSigning = CommonExtension<*, ApplicationBuildType, *, *, *, *>
-private typealias LibExtensionWithSigning = CommonExtension<*, LibraryBuildType, *, *, *, *>
-private typealias TestExtensionWithSigning = CommonExtension<*, TestBuildType, *, *, *, *>
-// TODO This implicitly supports only the AppPlugin
-// should we support other android plugins: LibraryPlugin TestPlugin ?
internal fun Project.configureReleaseSigningConfig() {
val releaseStoreFile = findProperty("RELEASE_STORE_FILE") as? String ?: ""
val releaseStorePassword = findProperty("RELEASE_STORE_PASSWORD") as? String ?: ""
val releaseKeyAlias= findProperty("RELEASE_KEY_ALIAS") as? String ?: ""
val releaseKeyPassword= findProperty("RELEASE_KEY_PASSWORD") as? String ?: ""
- extensions.configure<AppExtensionWithSigning>("android") {
+ extensions.configure<ApplicationExtension>("android") {
signingConfigs {
register("release") {
storeFile = file(releaseStoreFile)