Class: FlutterRb::Gradle

Inherits:
Object
  • Object
show all
Defined in:
lib/flutter_rb/project/specs/android/gradle.rb

Overview

Represents a Gradle project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, version) ⇒ Gradle

Initializes a new Gradle instance.

Parameters:

  • path (String)

    The path to the Gradle project.

  • version (String)

    The version of Gradle being used.



12
13
14
15
# File 'lib/flutter_rb/project/specs/android/gradle.rb', line 12

def initialize(path, version)
  @path = path
  @version = version
end

Instance Attribute Details

#pathString (readonly)

Returns the path to the Gradle project.

Returns:

  • (String)

    The path to the Gradle project.



20
21
22
# File 'lib/flutter_rb/project/specs/android/gradle.rb', line 20

def path
  @path
end

#versionString (readonly)

Returns the version of Gradle being used.

Returns:

  • (String)

    The version of Gradle being used.



25
26
27
# File 'lib/flutter_rb/project/specs/android/gradle.rb', line 25

def version
  @version
end