blob: a3c408e55c74114bbebbab9dee0f5ad77aff135f [file] [log] [blame]
// 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\
")