mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00

imperative apply has been deprecated since #139690 part of #121541 Doing this will make things easier for us during the conversion of `flutter.groovy` into Kotlin.
14 lines
690 B
Groovy
14 lines
690 B
Groovy
// Copyright 2014 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// This file existed solely for the compatibility with apps that have
|
|
// not migrated to the declarative apply of the Flutter App Plugin Loader Gradle Plugin.
|
|
// The old (imperative) apply of this plugin is not possible anymore.
|
|
|
|
throw new GradleException("You are applying Flutter's app_plugin_loader Gradle plugin \
|
|
imperatively using the apply script method, which is not possible anymore. \
|
|
Migrate to applying Gradle plugins with the declarative plugins block: \
|
|
https://flutter.dev/to/flutter-gradle-plugin-apply\n\
|
|
")
|