agent-workspace / flutter /packages /flutter_tools /gradle /app_plugin_loader.gradle
luom2645's picture
Add files using upload-large-folder tool
e22452a verified
Raw History Blame Contribute Delete
690 Bytes
// 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\
")