File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
kmmbridge/src/main/kotlin/co/touchlab/kmmbridge Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ SONATYPE_HOST=DEFAULT
1818RELEASE_SIGNING_ENABLED =true
1919
2020GROUP =co.touchlab.kmmbridge
21- VERSION_NAME =1.1.0
21+ VERSION_NAME =1.1.1
2222VERSION_NAME_3x =0.3.7
2323
2424POM_URL =https://github.com/touchlab/KMMBridge
Original file line number Diff line number Diff line change @@ -52,7 +52,14 @@ abstract class BaseKMMBridgePlugin : Plugin<Project> {
5252 val extension = extensions.create<KmmBridgeExtension >(EXTENSION_NAME )
5353
5454 extension.dependencyManagers.convention(emptyList())
55- extension.buildType.convention(NativeBuildType .RELEASE )
55+
56+ val defaultNativeBuildType = if (project.findStringProperty(" NATIVE_BUILD_TYPE" ) == " DEBUG" ) {
57+ NativeBuildType .DEBUG
58+ } else {
59+ NativeBuildType .RELEASE
60+ }
61+
62+ extension.buildType.convention(defaultNativeBuildType)
5663
5764 afterEvaluate {
5865 val kmmBridgeExtension = extensions.getByType<KmmBridgeExtension >()
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ interface KmmBridgeExtension {
4242
4343 val buildType: Property <NativeBuildType >
4444
45-
4645 @Suppress(" unused" )
4746 fun Project.s3PublicArtifacts (
4847 region : String ,
You can’t perform that action at this time.
0 commit comments