Unverified Commit ed49122a authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

register gradle wrapper as universal artifact (#30755)

parent d62635a3
...@@ -701,11 +701,14 @@ class IOSEngineArtifacts extends EngineCachedArtifact { ...@@ -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'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment