Gradle class producer gradle

Copy Gradle files to root and root/android folders to enable the usage of Gradle.

Copies the following files to both root and root/android:

  • gradlew
  • gradlew.bat
  • gradle.properties
  • gradle/wrapper/gradle-wrapper.jar
  • gradle/wrapper/gradle-wrapper.properties

Constructors

Gradle(String pathToRoot, Directory resourcesDirectory)
Create a Gradle instance based of the Flutter project root folder.

Properties

copyToAndroid Future<void>
Copy Gradle files to the project root/android folder.
no setter
copyToRoot Future<void>
Copy Gradle files to the project root folder.
no setter
hashCode int
The hash code for this object.
no setterinherited
pathToRoot String
The Flutter project root folder.
final
resourcesDirectory Directory
The directory containing the gradle-wrapper files.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited