22 package com.geekorum.build |
22 package com.geekorum.build |
23 |
23 |
24 import com.android.build.api.dsl.* |
24 import com.android.build.api.dsl.* |
25 import org.gradle.api.Project |
25 import org.gradle.api.Project |
26 |
26 |
27 private typealias AppExtensionWithSigning = CommonExtension<*, ApplicationBuildType, *, *, *> |
27 private typealias AppExtensionWithSigning = CommonExtension<*, ApplicationBuildType, *, *, *, *> |
28 private typealias LibExtensionWithSigning = CommonExtension<*, LibraryBuildType, *, *, *> |
28 private typealias LibExtensionWithSigning = CommonExtension<*, LibraryBuildType, *, *, *, *> |
29 private typealias TestExtensionWithSigning = CommonExtension<*, TestBuildType, *, *, *> |
29 private typealias TestExtensionWithSigning = CommonExtension<*, TestBuildType, *, *, *, *> |
30 |
30 |
31 // TODO This implicitly supports only the AppPlugin |
31 // TODO This implicitly supports only the AppPlugin |
32 // should we support other android plugins: LibraryPlugin TestPlugin ? |
32 // should we support other android plugins: LibraryPlugin TestPlugin ? |
33 internal fun Project.configureReleaseSigningConfig() { |
33 internal fun Project.configureReleaseSigningConfig() { |
34 val releaseStoreFile = findProperty("RELEASE_STORE_FILE") as? String ?: "" |
34 val releaseStoreFile = findProperty("RELEASE_STORE_FILE") as? String ?: "" |