-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need AGP 8+ support #215
Comments
You can define common name space for all sub packages via adding few lines in project level build.gradle file. Consider adding below code inside subprojects block. afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
} Example:- subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
if (namespace == null) {
namespace project.group
}
}
}
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "1.8"
}
}
} I'm also facing many issues nowadays with many packages which are not updated with latest flutter, dart and kotlin versions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting the error:
As of AGP 8+ you must set the namespace in the android {} section of build.gradle. Is there an ETA for AGP 8+ support?
The text was updated successfully, but these errors were encountered: