skip 'generateLockfiles' for add-to-app project. (#91458)
This commit is contained in:
parent
83ccb77e51
commit
f802e639b2
@ -137,6 +137,7 @@ class FlutterPlugin implements Plugin<Project> {
|
|||||||
this.project = project
|
this.project = project
|
||||||
|
|
||||||
def rootProject = project.rootProject
|
def rootProject = project.rootProject
|
||||||
|
if (isFlutterAppProject()) {
|
||||||
rootProject.tasks.register('generateLockfiles') {
|
rootProject.tasks.register('generateLockfiles') {
|
||||||
rootProject.subprojects.each { subproject ->
|
rootProject.subprojects.each { subproject ->
|
||||||
def gradlew = (OperatingSystem.current().isWindows()) ?
|
def gradlew = (OperatingSystem.current().isWindows()) ?
|
||||||
@ -148,6 +149,7 @@ class FlutterPlugin implements Plugin<Project> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Configure the Maven repository.
|
// Configure the Maven repository.
|
||||||
String hostedRepository = System.env.FLUTTER_STORAGE_BASE_URL ?: DEFAULT_MAVEN_HOST
|
String hostedRepository = System.env.FLUTTER_STORAGE_BASE_URL ?: DEFAULT_MAVEN_HOST
|
||||||
|
Loading…
x
Reference in New Issue
Block a user