mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
register gradle wrapper as universal artifact (#30755)
This commit is contained in:
parent
d62635a3d0
commit
ed49122aa3
@ -701,11 +701,14 @@ class IOSEngineArtifacts extends EngineCachedArtifact {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A cached artifact containing Gradle Wrapper scripts and binaries.
|
/// A cached artifact containing Gradle Wrapper scripts and binaries.
|
||||||
|
///
|
||||||
|
/// While this is only required for Android, we need to always download it due
|
||||||
|
/// the ensurePlatformSpecificTooling logic.
|
||||||
class GradleWrapper extends CachedArtifact {
|
class GradleWrapper extends CachedArtifact {
|
||||||
GradleWrapper(Cache cache) : super(
|
GradleWrapper(Cache cache) : super(
|
||||||
'gradle_wrapper',
|
'gradle_wrapper',
|
||||||
cache,
|
cache,
|
||||||
const <DevelopmentArtifact>{ DevelopmentArtifact.android },
|
const <DevelopmentArtifact>{ DevelopmentArtifact.universal },
|
||||||
);
|
);
|
||||||
|
|
||||||
List<String> get _gradleScripts => <String>['gradlew', 'gradlew.bat'];
|
List<String> get _gradleScripts => <String>['gradlew', 'gradlew.bat'];
|
||||||
|
Loading…
Reference in New Issue
Block a user