Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
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
杨凯
YDL-Component-Medical
Commits
f65fca61
Commit
f65fca61
authored
Jun 25, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打包整理
parent
e06cb7e9
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
28 additions
and
105 deletions
+28
-105
build.gradle
app/build.gradle
+3
-1
DemoAppLifecycles.kt
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.kt
+1
-1
colors.xml
app/src/main/res/values/colors.xml
+1
-45
dimens.xml
app/src/main/res/values/dimens.xml
+0
-3
build.gradle
build.gradle
+11
-2
ExampleInstrumentedTest.kt
m-confide/src/androidTest/java/com/ydl/confide/ExampleInstrumentedTest.kt
+0
-24
ExampleUnitTest.kt
m-confide/src/test/java/com/ydl/confide/ExampleUnitTest.kt
+0
-17
colors.xml
m-confide/src/xlzx/res/values/colors.xml
+0
-3
colors.xml
m-confide/src/ydl/res/values/colors.xml
+0
-4
NimApplication.java
m-im/src/main/java/com/yidianling/im/config/NimApplication.java
+0
-4
maven_push.gradle
maven_push.gradle
+12
-1
No files found.
app/build.gradle
View file @
f65fca61
...
...
@@ -193,7 +193,9 @@ dependencies {
implementation
fileTree
(
dir:
'aars'
,
include:
[
'*.aar'
])
implementation
project
(
':m-user'
)
implementation
(
project
(
':m-user'
)){
exclude
group:
"com.ydl.aar"
,
module:
'resource'
}
implementation
project
(
":api:user"
)
implementation
project
(
':m-confide'
)
implementation
project
(
':api:confide'
)
...
...
app/src/main/java/com/ydl/component/base/DemoAppLifecycles.kt
View file @
f65fca61
...
...
@@ -97,7 +97,7 @@ class DemoAppLifecycles : IAppLifecycles {
private
fun
moduleInit
(
application
:
Application
)
{
val
imInitConfigBean
=
IMInitConfigBean
()
imInitConfigBean
.
notificationIconRes
=
R
.
drawable
.
im_ic_launcher
NimApplication
.
getInstance
().
initIm
(
application
,
MainActivity
::
class
.
java
)
NimApplication
.
getInstance
().
initIm
(
application
,
MainActivity
::
class
.
java
,
imInitConfigBean
)
}
...
...
app/src/main/res/values/colors.xml
View file @
f65fca61
<?xml version="1.0" encoding="utf-8"?>
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<color
name=
"text_user"
tools:ignore=
"MissingDefaultResource"
>
#5195cb
</color>
<color
name=
"black"
tools:ignore=
"MissingDefaultResource"
>
#FF000000
</color>
<color
name=
"white"
>
@android:color/white
</color>
<resources>
<color
name=
"white_24p"
>
#3DFFFFFF
</color>
<color
name=
"white_50p"
>
#80FFFFFF
</color>
<color
name=
"black_50p"
>
#80000000
</color>
<color
name=
"red"
>
#F44336
</color>
<color
name=
"red_30p"
>
#4CF44336
</color>
<color
name=
"blue"
>
#2196F3
</color>
<color
name=
"grey"
>
#9E9E9E
</color>
<color
name=
"color_white"
>
#ffffff
</color>
...
...
@@ -24,42 +18,4 @@
<color
name=
"color_main_bg"
>
#F1F3F8
</color>
<color
name=
"color_main_text"
>
#333333
</color>
<!-- ============ 标准颜色 ============ -->
<!--主题色 - 用于TabBar、突出文字、按钮和icon-->
<color
name=
"platform_main_theme"
>
#fdbd00
</color>
<!--辅助色 1 - 主色系浅色-->
<color
name=
"platform_main_theme_light"
>
#FFEC8C
</color>
<!--辅助色 2 - 主色系亮色-->
<color
name=
"platform_main_theme_bright"
>
#fffae0
</color>
<!-- ============ 背景颜色 ============ -->
<!-- 标签背景色-->
<color
name=
"platform_tag_bg_color"
>
#F7F7F7
</color>
<!-- 大面积背景颜色-->
<color
name=
"platform_big_bg_color"
>
#F0F0F0
</color>
<!-- 分割线颜色-->
<color
name=
"platform_dividing_line_color"
>
#EBEBEB
</color>
<!-- 主题色渐变背景颜色 -->
<color
name=
"platform_main_gradient_start_color"
>
#fdbd00
</color>
<color
name=
"platform_main_gradient_end_color"
>
#FFD814
</color>
<!-- 主题色渐变未选中背景颜色 -->
<color
name=
"platform_main_gradient_start_color_un"
>
#66fdbd00
</color>
<color
name=
"platform_main_gradient_end_color_un"
>
#66FFD814
</color>
<!-- ============ 文字颜色 ============ -->
<!-- 一级类目,标题、点缀文字颜色-->
<color
name=
"platform_text_dark_color"
>
#242424
</color>
<!-- 二级类目文字颜色-->
<color
name=
"platform_text_light_color"
>
#666666
</color>
<!-- 三级次要文字颜色-->
<color
name=
"platform_text_bright_color"
>
#999999
</color>
<!-- 四级编辑框提示文字颜色-->
<color
name=
"platform_text_hint_color"
>
#BFBFBF
</color>
<!-- ============ 按钮颜色 ============ -->
<!--确认文字按钮颜色 - 亮色模式下与深色模式相反-->
<color
name=
"platform_but_text_color"
>
#242424
</color>
<!--按钮字体颜色 - 亮色模式下与深色模式近似-->
<color
name=
"platform_but_text_color_unselected"
>
#555555
</color>
<color
name=
"platform_but_text_color_selected"
>
#242424
</color>
</resources>
app/src/main/res/values/dimens.xml
View file @
f65fca61
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen
name=
"activity_horizontal_margin"
>
16dp
</dimen>
<dimen
name=
"activity_vertical_margin"
>
16dp
</dimen>
<dimen
name=
"text_size_common"
>
16sp
</dimen>
</resources>
build.gradle
View file @
f65fca61
...
...
@@ -57,8 +57,17 @@ allprojects {
task
clean
(
type:
Delete
)
{
delete
rootProject
.
buildDir
}
task
packYdl
{
task
packYdl1
{
doLast
{
println
(
"doLast packYdl1!!!!"
)
}
}
task
packYdl2
{
doLast
{
println
(
"doLast packYdl2!!!!"
)
}
}
task
packYdl
{
doLast
{
println
(
"doLast packYdl!!!!"
)
}
...
...
m-confide/src/androidTest/java/com/ydl/confide/ExampleInstrumentedTest.kt
deleted
100644 → 0
View file @
e06cb7e9
package
com.ydl.confide
import
androidx.test.platform.app.InstrumentationRegistry
import
androidx.test.ext.junit.runners.AndroidJUnit4
import
org.junit.Test
import
org.junit.runner.RunWith
import
org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith
(
AndroidJUnit4
::
class
)
class
ExampleInstrumentedTest
{
@Test
fun
useAppContext
()
{
// Context of the app under test.
val
appContext
=
InstrumentationRegistry
.
getInstrumentation
().
targetContext
assertEquals
(
"com.example.m_confide.test"
,
appContext
.
packageName
)
}
}
m-confide/src/test/java/com/ydl/confide/ExampleUnitTest.kt
deleted
100644 → 0
View file @
e06cb7e9
package
com.ydl.confide
import
org.junit.Test
import
org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class
ExampleUnitTest
{
@Test
fun
addition_isCorrect
()
{
assertEquals
(
4
,
2
+
2
)
}
}
m-confide/src/xlzx/res/values/colors.xml
deleted
100644 → 0
View file @
e06cb7e9
<?xml version="1.0" encoding="utf-8"?>
<resources>
</resources>
m-confide/src/ydl/res/values/colors.xml
deleted
100644 → 0
View file @
e06cb7e9
<?xml version="1.0" encoding="utf-8"?>
<resources>
</resources>
m-im/src/main/java/com/yidianling/im/config/NimApplication.java
View file @
f65fca61
...
...
@@ -54,10 +54,6 @@ public class NimApplication {
return
InstanceHolder
.
nimApplication
;
}
public
void
initIm
(
Application
app
,
Class
activity
)
{
initIm
(
app
,
activity
,
null
);
}
public
void
initIm
(
Application
app
,
Class
activity
,
IMInitConfigBean
configBean
)
{
IMCache
.
setContext
(
app
);
// 初始化云信SDK
...
...
maven_push.gradle
View file @
f65fca61
...
...
@@ -51,9 +51,19 @@ afterEvaluate { project ->
)
}
// rootProject.getTasksByName("aa",false).forEach{println(it)}
//pay依赖platform,platform依赖utils和net
//confide依赖audioim
if
(
project
.
name
.
startsWith
(
"ydl"
))
{
if
(
project
.
name
==
"ydl-utils"
||
project
.
name
==
"ydl-net"
)
{
rootProject
.
getTasksByName
(
"packYdl1"
,
false
).
forEach
{
it
.
dependsOn
(
uploadArchives
)
}
}
if
(
project
.
name
==
"ydl-platform"
)
{
rootProject
.
getTasksByName
(
"packYdl2"
,
false
).
forEach
{
it
.
dependsOn
(
uploadArchives
)
}
}
rootProject
.
getTasksByName
(
"packYdl"
,
false
).
forEach
{
it
.
dependsOn
(
uploadArchives
)
}
}
else
{
rootProject
.
getTasksByName
(
"packM"
,
false
).
forEach
{
it
.
dependsOn
(
uploadArchives
)
}
if
(
project
.
name
!=
"m-audioim"
)
{
rootProject
.
getTasksByName
(
"packM"
,
false
).
forEach
{
it
.
dependsOn
(
uploadArchives
)
}
}
}
}
\ 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