Skip to content

Commit efd9c1e

Browse files
committed
fix build
1 parent 6a0826a commit efd9c1e

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

build-logic/convention/src/main/kotlin/io/github/kalinjul/convention/AndroidLibraryConventionPlugin.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ class AndroidLibraryConventionPlugin : Plugin<Project> {
2222
minSdk = libs.versions.minSdk.get().toInt()
2323
compileSdk = libs.versions.compileSdk.get().toInt()
2424

25-
26-
optimization {
27-
consumerKeepRules.file(target.layout.projectDirectory.file("consumer-rules.pro").asFile)
28-
consumerKeepRules.publish = true
29-
}
30-
3125
namespace = "org.publicvalue.multiplatform.${project.name.replace("-", ".")}"
3226
}
3327
}

documentscanner-compose/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,11 @@ kotlin {
4040
}
4141
}
4242
}
43+
44+
android {
45+
optimization {
46+
consumerKeepRules.file(layout.projectDirectory.file("consumer-rules.pro").asFile)
47+
consumerKeepRules.publish = true
48+
}
49+
}
4350
}

0 commit comments

Comments
 (0)