fix: remove unnessacary things from extension for initial version
This commit is contained in:
parent
7a685fd621
commit
760e9a6b4e
@ -1,25 +1,4 @@
|
||||
package com.fahrecker.gradle
|
||||
|
||||
class FlutterExtension {
|
||||
final Property<String> flutterVersion
|
||||
final Property<String> flutterChannel
|
||||
final Property<String> flutterSdkPath
|
||||
|
||||
FlutterExtension(Project project) {
|
||||
flutterVersion = project.objects.property(String)
|
||||
flutterChannel = project.objects.property(String)
|
||||
flutterSdkPath = project.objects.property(String)
|
||||
}
|
||||
|
||||
void setFlutterVersion(String version) {
|
||||
flutterVersion.set(version)
|
||||
}
|
||||
|
||||
void setFlutterChannel(String channel) {
|
||||
flutterChannel.set(channel)
|
||||
}
|
||||
|
||||
void setFlutterSdkPath(String path) {
|
||||
flutterSdkPath.set(path)
|
||||
}
|
||||
}
|
@ -2,7 +2,6 @@ package com.fahrecker.gradle
|
||||
|
||||
import org.gradle.api.Plugin
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.provider.Property
|
||||
|
||||
class FlutterGradlePlugin implements Plugin<Project> {
|
||||
void apply(Project project) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user