forked from flutter/flutter
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for imperative apply of Flutter Gradle Plugin (flutter…
…#160947) imperative apply has been deprecated since flutter#139690 part of flutter#121541 Doing this will make things easier for us during the conversion of `flutter.groovy` into Kotlin.
- Loading branch information
1 parent
a3a4995
commit 4b23b81
Showing
10 changed files
with
73 additions
and
656 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
dev/integration_tests/deferred_components_test/android/settings.gradle
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
dev/integration_tests/deferred_components_test/android/settings.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// 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. | ||
|
||
pluginManagement { | ||
val flutterSdkPath = | ||
run { | ||
val properties = java.util.Properties() | ||
file("local.properties").inputStream().use { properties.load(it) } | ||
val flutterSdkPath = properties.getProperty("flutter.sdk") | ||
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" } | ||
flutterSdkPath | ||
} | ||
|
||
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
plugins { | ||
id("dev.flutter.flutter-plugin-loader") version "1.0.0" | ||
id("com.android.application") version "8.7.0" apply false | ||
id("org.jetbrains.kotlin.android") version "1.8.10" apply false | ||
} | ||
|
||
include(":app", ":component1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
200 changes: 0 additions & 200 deletions
200
...ges/flutter_tools/test/integration.shard/android_gradle_deprecated_plugin_apply_test.dart
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.