Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dolan SelfService Topup
Project
Project
Details
Activity
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
Faizol
Dolan SelfService Topup
Commits
47d6a07b
Commit
47d6a07b
authored
Jan 20, 2023
by
Izol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust build gradle and local properties
parent
e95c346e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
12 deletions
+29
-12
build.gradle
android/app/build.gradle
+28
-11
local.properties
android/local.properties
+1
-1
No files found.
android/app/build.gradle
View file @
47d6a07b
...
@@ -23,16 +23,24 @@ if (flutterVersionName == null) {
...
@@ -23,16 +23,24 @@ if (flutterVersionName == null) {
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
\
android
{
android
{
compileSdkVersion
flutter
.
compileSdkVersion
compileSdkVersion
33
ndkVersion
flutter
.
ndkVersion
ndkVersion
flutter
.
ndkVersion
compileOptions
{
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
}
lintOptions
{
checkReleaseBuilds
false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError
false
}
kotlinOptions
{
kotlinOptions
{
jvmTarget
=
'1.8'
jvmTarget
=
'1.8'
...
@@ -48,20 +56,28 @@ android {
...
@@ -48,20 +56,28 @@ android {
// You can update the following values to match your application needs.
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion
22
minSdkVersion
22
targetSdkVersion
3
2
targetSdkVersion
3
3
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
// Sun miT2S
// ndk {
// abiFilters 'armeabi', 'armeabi-v7a'
// }
// Sun miT2Mini
ndk
{
ndk
{
abiFilters
'arm64-v8a'
,
'armeabi'
,
'armeabi-v7a'
abiFilters
'arm64-v8a'
,
'armeabi'
,
'armeabi-v7a'
}
}
}
}
buildTypes
{
buildTypes
{
release
{
release
{
// TODO: Add your own signing config for the release build.
// TODO: add signing config for the release build
// Signing with the debug keys for now, so `flutter run --release` works.
shrinkResources
false
signingConfig
signingConfigs
.
debug
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
multiDexEnabled
true
}
}
}
}
}
}
...
@@ -71,12 +87,13 @@ flutter {
...
@@ -71,12 +87,13 @@ flutter {
}
}
dependencies
{
dependencies
{
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21"
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
//
implementation 'com.google.android.material:material:<version>'
//
implementation 'com.google.android.material:material:<version>'
implementation
"com.google.code.gson:gson:2.8.9"
implementation
'com.google.code.gson:gson:2.10.1'
implementation
'com.android.support:support-annotations:28.0.0'
implementation
'com.android.support:support-annotations:28.0.0'
implementation
'androidx.annotation:annotation:1.
4
.0'
implementation
'androidx.annotation:annotation:1.
5
.0'
// library mdd
// library mdd
implementation
(
group:
'com.mdd.topup'
,
name:
'mifare_mdd_lib'
,
version:
'0.0.11'
,
ext:
'aar'
)
implementation
(
group:
'com.mdd.topup'
,
name:
'mifare_mdd_lib'
,
version:
'0.0.11'
,
ext:
'aar'
)
...
@@ -91,7 +108,7 @@ dependencies {
...
@@ -91,7 +108,7 @@ dependencies {
implementation
(
group:
'com.mdd.payment'
,
name:
'dcard-d8-nlibrary-release'
,
version:
'1.0.0'
,
ext:
'aar'
)
implementation
(
group:
'com.mdd.payment'
,
name:
'dcard-d8-nlibrary-release'
,
version:
'1.0.0'
,
ext:
'aar'
)
implementation
project
(
path:
':escposprinter'
)
implementation
project
(
path:
':escposprinter'
)
implementation
'com.sunmi:printerlibrary:1.0.9'
implementation
'com.sunmi:printerlibrary:1.0.
1
9'
implementation
'com.github.danielfelgar:draw-receipt:0.1.3'
implementation
'com.github.danielfelgar:draw-receipt:0.1.3'
implementation
'com.squareup.retrofit2:retrofit:2.9.0'
implementation
'com.squareup.retrofit2:retrofit:2.9.0'
...
...
android/local.properties
View file @
47d6a07b
...
@@ -2,4 +2,4 @@ sdk.dir=C:\\Users\\MDD HP\\AndroidSDK
...
@@ -2,4 +2,4 @@ sdk.dir=C:\\Users\\MDD HP\\AndroidSDK
flutter.buildMode
=
debug
flutter.buildMode
=
debug
flutter.versionCode
=
1
flutter.versionCode
=
1
flutter.sdk
=
C:
\\
Users
\\
MDD HP
\\
flutter
flutter.sdk
=
C:
\\
Users
\\
MDD HP
\\
flutter
flutter.versionName
=
1.0.0
flutter.versionName
=
SS.3.WHO
\ No newline at end of file
\ No newline at end of file
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