-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
a.rn.breaking-changesRelates to breaking changes on a Flutter releaseRelates to breaking changes on a Flutter releasee1-hoursEffort: < 8 hrsEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.target.AndroidTarget apps on the Android PlatformTarget apps on the Android Platform
Description
Page URL
https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply/
Page source
Describe the problem
Missing settings.ext.flutterSdkPath = flutterSdkPath() between fluterSdkPath and includeBuild
Expected fix
def flutterSdkPath = {
def properties = new Properties()
file("local.properties").withInputStream { properties.load(it) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}
settings.ext.flutterSdkPath = flutterSdkPath()
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.
Metadata
Metadata
Assignees
Labels
a.rn.breaking-changesRelates to breaking changes on a Flutter releaseRelates to breaking changes on a Flutter releasee1-hoursEffort: < 8 hrsEffort: < 8 hrsfrom.page-issueReported in a reader-filed concernReported in a reader-filed concernp2-mediumNecessary but not urgent concern. Resolve when possible.Necessary but not urgent concern. Resolve when possible.target.AndroidTarget apps on the Android PlatformTarget apps on the Android Platform