Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
Overview
Overview
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
tungnq
AppUms_Lecturer
Commits
f8b81767
Commit
f8b81767
authored
Sep 12, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IMPORTANT: Bổ sung cấu hình build gradle để build bản relese
parent
9bf79b21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
.gitignore
.gitignore
+3
-0
build.gradle
android/app/build.gradle
+14
-0
No files found.
.gitignore
View file @
f8b81767
...
...
@@ -72,3 +72,5 @@ yarn-error.log
!.yarn/releases
!.yarn/sdks
!.yarn/versions
android/app/keystore.properties
android/app/*.keystore
\ No newline at end of file
android/app/build.gradle
View file @
f8b81767
apply
plugin:
"com.android.application"
apply
plugin:
"org.jetbrains.kotlin.android"
apply
plugin:
"com.facebook.react"
def
keystorePropertiesFile
=
rootProject
.
file
(
"app/keystore.properties"
)
def
keystoreProperties
=
new
Properties
()
if
(
keystorePropertiesFile
.
exists
())
{
keystoreProperties
.
load
(
new
FileInputStream
(
keystorePropertiesFile
))
}
/**
* This is the configuration block to customize your React Native Android app.
...
...
@@ -89,6 +94,15 @@ android {
keyAlias
'androiddebugkey'
keyPassword
'android'
}
release
{
// đọc từ keystore.properties
if
(
keystoreProperties
[
'storeFile'
])
{
storeFile
file
(
keystoreProperties
[
'storeFile'
])
storePassword
keystoreProperties
[
'storePassword'
]
keyAlias
keystoreProperties
[
'keyAlias'
]
keyPassword
keystoreProperties
[
'keyPassword'
]
}
}
}
buildTypes
{
debug
{
...
...
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