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
95effcec
Commit
95effcec
authored
Jun 22, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: muse改造,muse没有api吗
parent
58695aa3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 additions
and
81 deletions
+1
-81
build.gradle
m-muse/build.gradle
+1
-0
modular.gradle
m-muse/modular.gradle
+0
-37
ExampleInstrumentedTest.java
m-muse/src/androidTest/java/com/ydl/ydl_fm/ExampleInstrumentedTest.java
+0
-26
ExampleUnitTest.java
m-muse/src/test/java/com/ydl/ydl_fm/ExampleUnitTest.java
+0
-18
No files found.
m-muse/build.gradle
View file @
95effcec
...
...
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-kapt'
apply
plugin:
'kotlin-android-extensions'
apply
from
:
'../maven_push.gradle'
kapt
{
arguments
{
...
...
m-muse/modular.gradle
deleted
100644 → 0
View file @
58695aa3
modular
{
//模块包名
packageName
"com.yidianling.muse"
// 模块发布需要的参数
publish
{
modules
{
xlzx
{
groupId
=
"com.ydl"
artifactId
=
"m-muse-module-xlzx"
// 上报的 心理咨询 业务模块 aar 包的版本号
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()]
}
ydl
{
groupId
=
"com.ydl"
artifactId
=
"m-muse-module-ydl"
// 上报的 壹点灵 业务模块 aar 包的版本号
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()]
}
}
api
{
// 壹点灵/心理咨询 业务模块 API层 jar包的发布信息
groupId
=
"com.ydl"
artifactId
=
"m-muse-api"
//开发时注释掉版本号,发布api时打开
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()+
"-api"
]
// API 层打包时需要引入的依赖
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.2"
implementation
"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation
'com.alibaba:arouter-api:1.4.1'
}
}
}
}
\ No newline at end of file
m-muse/src/androidTest/java/com/ydl/ydl_fm/ExampleInstrumentedTest.java
deleted
100644 → 0
View file @
58695aa3
package
com
.
ydl
.
ydl_fm
;
import
android.content.Context
;
import
androidx.test.platform.app.InstrumentationRegistry
;
import
androidx.test.ext.junit.runners.AndroidJUnit4
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
static
org
.
junit
.
Assert
.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith
(
AndroidJUnit4
.
class
)
public
class
ExampleInstrumentedTest
{
@Test
public
void
useAppContext
()
throws
Exception
{
// Context of the app under test.
Context
appContext
=
InstrumentationRegistry
.
getTargetContext
();
assertEquals
(
"com.ydl.ydl_muse.test"
,
appContext
.
getPackageName
());
}
}
m-muse/src/test/java/com/ydl/ydl_fm/ExampleUnitTest.java
deleted
100644 → 0
View file @
58695aa3
package
com
.
ydl
.
ydl_fm
;
import
org.junit.Test
;
import
static
org
.
junit
.
Assert
.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public
class
ExampleUnitTest
{
@Test
public
void
addition_isCorrect
()
throws
Exception
{
assertEquals
(
4
,
2
+
2
);
}
}
\ 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