Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
org.benoitharrault.midisynth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
org.benoitharrault.midisynth
Merge requests
!6
Resolve "Remove deprecation in flutter gradle plugin"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Resolve "Remove deprecation in flutter gradle plugin"
9-remove-deprecation-in-flutter-gradle-plugin
into
master
Overview
0
Commits
1
Pipelines
2
Changes
8
Merged
Benoît Harrault
requested to merge
9-remove-deprecation-in-flutter-gradle-plugin
into
master
1 year ago
Overview
0
Commits
1
Pipelines
2
Changes
8
Closes
#9 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e34ce691
1 commit,
1 year ago
8 files
+
41
−
37
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
android/app/build.gradle
+
6
−
8
View file @ e34ce691
Edit in single-file editor
Open in Web IDE
Show full file
plugins
{
id
"com.android.application"
id
"kotlin-android"
id
"dev.flutter.flutter-gradle-plugin"
}
def
localProperties
=
new
Properties
()
def
localPropertiesFile
=
rootProject
.
file
(
'local.properties'
)
if
(
localPropertiesFile
.
exists
())
{
@@ -14,11 +20,6 @@ if (gradlePropertiesFile.exists()) {
}
}
def
flutterRoot
=
localProperties
.
getProperty
(
'flutter.sdk'
)
if
(
flutterRoot
==
null
)
{
throw
new
GradleException
(
"Flutter SDK not found. Define location with flutter.sdk in the local.properties file."
)
}
def
appVersionCode
=
gradleProperties
.
getProperty
(
'app.versionCode'
)
if
(
appVersionCode
==
null
)
{
appVersionCode
=
'1'
@@ -29,9 +30,6 @@ if (appVersionName == null) {
appVersionName
=
'1.0'
}
apply
plugin:
'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def
keystoreProperties
=
new
Properties
()
def
keystorePropertiesFile
=
rootProject
.
file
(
'key.properties'
)
if
(
keystorePropertiesFile
.
exists
())
{
Loading