Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-04-16 15:00:56 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fde4fc12b7fe559b016d5c15cb71293ec974b4be
fde4fc12
1 parent
6490aabc
fix Gradle warning about deprecated apply script method
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
21 deletions
example/android/app/build.gradle
example/android/build.gradle
example/android/settings.gradle
example/android/app/build.gradle
View file @
fde4fc1
...
...
@@ -62,7 +62,3 @@ android {
flutter
{
source
'../..'
}
dependencies
{
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
...
...
example/android/build.gradle
View file @
fde4fc1
buildscript
{
ext
.
kotlin_version
=
'1.9.22'
repositories
{
google
()
mavenCentral
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:8.2.2'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects
{
repositories
{
google
()
...
...
example/android/settings.gradle
View file @
fde4fc1
...
...
@@ -5,12 +5,21 @@ pluginManagement {
def
flutterSdkPath
=
properties
.
getProperty
(
"flutter.sdk"
)
assert
flutterSdkPath
!=
null
,
"flutter.sdk not set in local.properties"
return
flutterSdkPath
}()
includeBuild
(
"$flutterSdkPath/packages/flutter_tools/gradle"
)
repositories
{
google
()
mavenCentral
()
gradlePluginPortal
()
}
settings
.
ext
.
flutterSdkPath
=
flutterSdkPath
()
}
includeBuild
(
"${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle"
)
plugins
{
id
"dev.flutter.flutter-plugin-loader"
version
"1.0.0"
id
"com.android.application"
version
"8.2.2"
apply
false
id
"org.jetbrains.kotlin.android"
version
"1.9.22"
apply
false
}
include
":app"
\ No newline at end of file
apply
from:
"${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
...
...
Please
register
or
login
to post a comment