-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec6369d
commit d8e2c0d
Showing
8 changed files
with
91 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Description | ||
<!-- | ||
Provide a description of what this PR is doing. | ||
If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, | ||
and what motivated the change. If this is a breaking change, specify explicitly which APIs were | ||
changed. | ||
--> | ||
|
||
|
||
## Checklist | ||
<!-- | ||
Before you create this PR confirm that it meets all requirements listed below by checking the | ||
relevant checkboxes with `[x]`. If some checkbox is not applicable, mark it as `[ ]`. | ||
--> | ||
|
||
- [ ] The title of my PR starts with a [Conventional Commit] prefix (`fix:`, `feat:`, `docs:` etc). | ||
- [ ] I have followed the [Contributor Guide] when preparing my PR. | ||
- [ ] I have updated/added tests for ALL new/updated/fixed functionality. | ||
- [ ] I have updated/added relevant documentation in `docs` and added dartdoc comments with `///`. | ||
- [ ] I have updated/added relevant examples in `examples` or `docs`. | ||
|
||
|
||
## Breaking Change? | ||
<!-- | ||
Would your PR require ShowCaseView users to update their apps following your change? | ||
If yes, then the title of the PR should include "!" (for example, `feat!:`, `fix!:`). See | ||
[Conventional Commit] for details. Also, for a breaking PR uncomment and fill in the "Migration | ||
instructions" section below. | ||
### Migration instructions | ||
If the PR is breaking, uncomment this header and add instructions for how to migrate from the | ||
currently released version to the new proposed way. | ||
--> | ||
|
||
- [ ] Yes, this PR is a breaking change. | ||
- [ ] No, this PR is not a breaking change. | ||
|
||
|
||
## Related Issues | ||
<!-- | ||
Indicate which issues this PR resolves, if any. For example: | ||
Closes #1234 | ||
!--> | ||
|
||
<!-- Links --> | ||
[Contributor Guide]: https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/blob/master/CONTRIBUTING.md | ||
[Conventional Commit]: https://conventionalcommits.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
plugins { | ||
id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
id "com.android.application" version "7.3.1" apply false | ||
id "org.jetbrains.kotlin.android" version "1.7.10" apply false | ||
} | ||
|
||
rootProject.name = 'flutter_credit_card' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
include ':app' | ||
pluginManagement { | ||
def flutterSdkPath = { | ||
def properties = new Properties() | ||
file("local.properties").withInputStream { properties.load(it) } | ||
def flutterSdkPath = properties.getProperty("flutter.sdk") | ||
assert flutterSdkPath != null, "flutter.sdk not set in local.properties" | ||
return flutterSdkPath | ||
}() | ||
|
||
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() | ||
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") | ||
|
||
def plugins = new Properties() | ||
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') | ||
if (pluginsFile.exists()) { | ||
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } | ||
repositories { | ||
google() | ||
mavenCentral() | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
plugins.each { name, path -> | ||
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() | ||
include ":$name" | ||
project(":$name").projectDir = pluginDirectory | ||
plugins { | ||
id "dev.flutter.flutter-plugin-loader" version "1.0.0" | ||
id "com.android.application" version "8.1.0" apply false | ||
id "org.jetbrains.kotlin.android" version "1.8.20" apply false | ||
} | ||
|
||
include ":app" |