Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
50b00378
Unverified
Commit
50b00378
authored
Sep 07, 2021
by
Emmanuel Garcia
Committed by
GitHub
Sep 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove files that are unnecessary in a plugin (#89445)
parent
0c5431d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
27 deletions
+0
-27
gradle.properties.tmpl
...ools/templates/plugin/android.tmpl/gradle.properties.tmpl
+0
-3
gradle-wrapper.properties
...gin/android.tmpl/gradle/wrapper/gradle-wrapper.properties
+0
-5
create_test.dart
...tter_tools/test/commands.shard/permeable/create_test.dart
+0
-19
No files found.
packages/flutter_tools/templates/plugin/android.tmpl/gradle.properties.tmpl
deleted
100644 → 0
View file @
0c5431d9
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
packages/flutter_tools/templates/plugin/android.tmpl/gradle/wrapper/gradle-wrapper.properties
deleted
100644 → 0
View file @
0c5431d9
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-6.7-all.zip
packages/flutter_tools/test/commands.shard/permeable/create_test.dart
View file @
50b00378
...
...
@@ -727,25 +727,6 @@ void main() {
);
});
testUsingContext
(
'androidx is used by default in a plugin project'
,
()
async
{
Cache
.
flutterRoot
=
'../..'
;
final
CreateCommand
command
=
CreateCommand
();
final
CommandRunner
<
void
>
runner
=
createTestCommandRunner
(
command
);
await
runner
.
run
(<
String
>[
'create'
,
'--no-pub'
,
'--template=plugin'
,
'--platform'
,
'android'
,
projectDir
.
path
]);
void
expectExists
(
String
relPath
)
{
expect
(
globals
.
fs
.
isFileSync
(
'
${projectDir.path}
/
$relPath
'
),
true
);
}
expectExists
(
'android/gradle.properties'
);
final
String
actualContents
=
await
globals
.
fs
.
file
(
'
${projectDir.path}
/android/gradle.properties'
).
readAsString
();
expect
(
actualContents
.
contains
(
'useAndroidX'
),
true
);
});
testUsingContext
(
'creating a new project should create v2 embedding and never show an Android v1 deprecation warning'
,
()
async
{
Cache
.
flutterRoot
=
'../..'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment