Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
huangzhicong
/
SmartCanteen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
eb5e1494
authored
Mar 20, 2020
by
pye52
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除自动打包脚本
parent
885de2dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
build.gradle
+20
-20
daemon/build.gradle
+1
-1
No files found.
build.gradle
View file @
eb5e1494
...
@@ -28,24 +28,24 @@ allprojects {
...
@@ -28,24 +28,24 @@ allprojects {
task
clean
(
type:
Delete
)
{
task
clean
(
type:
Delete
)
{
delete
rootProject
.
buildDir
delete
rootProject
.
buildDir
Task
appPreBuildTask
;
//
Task appPreBuildTask;
Task
daemonBuildTask
;
//
Task daemonBuildTask;
//
subprojects
.
forEach
{
project
->
//
subprojects.forEach { project ->
if
(
project
.
name
==
"app"
)
{
//
if (project.name == "app") {
Set
<
Task
>
appPreBuildTasks
=
project
.
getTasksByName
(
"preBuild"
,
false
)
//
Set<Task> appPreBuildTasks = project.getTasksByName("preBuild", false)
if
(!
appPreBuildTasks
.
isEmpty
())
{
//
if (!appPreBuildTasks.isEmpty()) {
appPreBuildTask
=
appPreBuildTasks
[
0
]
//
appPreBuildTask = appPreBuildTasks[0]
}
//
}
}
else
if
(
project
.
name
==
"daemon"
)
{
//
} else if (project.name == "daemon") {
Set
<
Task
>
daemonAssembleReleaseTasks
=
project
.
getTasksByName
(
"assembleRelease"
,
false
)
//
Set<Task> daemonAssembleReleaseTasks = project.getTasksByName("assembleRelease", false)
if
(!
daemonAssembleReleaseTasks
.
isEmpty
())
{
//
if (!daemonAssembleReleaseTasks.isEmpty()) {
daemonBuildTask
=
daemonAssembleReleaseTasks
[
0
]
//
daemonBuildTask = daemonAssembleReleaseTasks[0]
}
//
}
}
//
}
}
//
}
//
if
(
appPreBuildTask
!=
null
&&
daemonBuildTask
!=
null
)
{
//
if (appPreBuildTask != null && daemonBuildTask != null) {
appPreBuildTask
.
dependsOn
(
daemonBuildTask
)
//
appPreBuildTask.dependsOn(daemonBuildTask)
}
//
}
}
}
daemon/build.gradle
View file @
eb5e1494
...
@@ -16,7 +16,7 @@ android {
...
@@ -16,7 +16,7 @@ android {
canteen
{
canteen
{
keyAlias
'town'
keyAlias
'town'
keyPassword
'maxrocky'
keyPassword
'maxrocky'
storeFile
file
(
'
./
canteen.jks'
)
storeFile
file
(
'canteen.jks'
)
storePassword
'maxrocky'
storePassword
'maxrocky'
}
}
buildTypes
{
buildTypes
{
...
...
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