Skip to content

Commit

Permalink
chore: Temporary disable workaround for testing
Browse files Browse the repository at this point in the history
The local enviroment deemed unreliable, before applying it doesn't work - after applying the workaround, it work - after removing the workaround with clearing cache, it doesn't work. (what?)

Signed-off-by: validcube <[email protected]>
  • Loading branch information
validcube committed Sep 6, 2024
1 parent 3dfe6b1 commit 6f0721b
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,7 @@ allprojects {
}

rootProject.buildDir = '../build'
// TODO: Bump SDK
// Reference: https:/flutter/flutter/issues/153281#issuecomment-2292201697
subprojects {
afterEvaluate { project ->
if (project.extensions.findByName("android") != null) {
Integer pluginCompileSdk = project.android.compileSdk
if (pluginCompileSdk != null && pluginCompileSdk < 31) {
project.logger.error(
"Warning: Overriding compileSdk version in Flutter plugin: "
+ project.name
+ " from "
+ pluginCompileSdk
+ " to 31 (to work around https://issuetracker.google.com/issues/199180389)."
+ "\nIf there is not a new version of " + project.name + ", consider filing an issue against "
+ project.name
+ " to increase their compileSdk to the latest (otherwise try updating to the latest version)."
)
project.android {
compileSdk 31
}
}
}
}

project.buildDir = "${rootProject.buildDir}/${project.name}"
project.evaluationDependsOn(":app")
}
Expand Down

0 comments on commit 6f0721b

Please sign in to comment.