Skip to content

Commit

Permalink
fix: Creating namespaces for not migrated plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-bak committed Oct 23, 2024
1 parent dace0e5 commit 8b812a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ allprojects {
}

rootProject.buildDir = '../build'
subprojects {
afterEvaluate { project ->
if (project.plugins.hasPlugin("com.android.library")) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
}
}
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
Expand Down

0 comments on commit 8b812a1

Please sign in to comment.