Skip to content

Commit

Permalink
enable compatibility with non-hierarchical projects
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed Jul 17, 2022
1 parent e2a1e36 commit d5250c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Disable compatibility with non-hierarchical projects
# https://kotlinlang.org/docs/multiplatform-hierarchy.html#for-library-authors
# This is not compatible with Compose JB
kotlin.mpp.enableCompatibilityMetadataVariant=false
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ kotlin.incremental.multiplatform = true
kotlin.incremental.js = false
kotlin.parallel.tasks.in.project = true
kotlin.mpp.stability.nowarn=true
# To enable compatibility with non-hierarchical projects
# https://kotlinlang.org/docs/multiplatform-hierarchy.html#for-library-authors
kotlin.mpp.enableCompatibilityMetadataVariant=true

# Android
android.useAndroidX = true

0 comments on commit d5250c3

Please sign in to comment.