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
01b3334b
Commit
01b3334b
authored
Jun 22, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: article改造,article没有api吗
parent
95effcec
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 additions
and
110 deletions
+1
-110
build.gradle
m-article/build.gradle
+1
-29
gradle.properties
m-article/gradle.properties
+0
-1
modular.gradle
m-article/modular.gradle
+0
-38
build.gradle
m-dynamic/build.gradle
+0
-11
build.gradle
m-fm/build.gradle
+0
-13
build.gradle
m-muse/build.gradle
+0
-18
No files found.
m-article/build.gradle
View file @
01b3334b
...
...
@@ -2,13 +2,7 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'kotlin-kapt'
apply
plugin:
'resTools'
// 资源重命名插件
// 配置资源重命名插件
resConfig
{
new_prefix
=
'article_'
// 资源前缀
old_prefix
=
''
// 老前缀,可为''空字符串
}
apply
from
:
'../maven_push.gradle'
kapt
{
arguments
{
...
...
@@ -34,9 +28,6 @@ android {
arguments
=
[
AROUTER_MODULE_NAME:
"article"
]
}
}
flavorDimensions
"versionCode"
//Flavor 维度信息
}
buildTypes
{
...
...
@@ -46,25 +37,6 @@ android {
}
}
//前缀的名字
// resourcePrefix "article_"
//Flavor 信息
publishNonDefault
true
productFlavors
{
ydl
{}
xlzx
{}
}
sourceSets
{
main
{
manifest
.
srcFile
'src/main/AndroidManifest.xml'
res
.
srcDirs
=
[
'src/main/res'
]
}
}
compileOptions
{
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
...
...
m-article/gradle.properties
deleted
100644 → 0
View file @
95effcec
isApplicaiton
=
false
m-article/modular.gradle
deleted
100644 → 0
View file @
95effcec
modular
{
//模块包名
packageName
"com.yidianling.article"
// 模块发布需要的参数
publish
{
modules
{
xlzx
{
groupId
=
"com.ydl"
artifactId
=
"m-article-module-xlzx"
// 上报的 心理咨询 业务模块 aar 包的版本号
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()]
}
ydl
{
groupId
=
"com.ydl"
artifactId
=
"m-article-module-ydl"
// 上报的 壹点灵 业务模块 aar 包的版本号
version
=
rootProject
.
ext
.
ydlPublishVersion
[
childProject
.
getName
()]
}
}
api
{
//壹点灵/心理咨询 业务模块 API层 jar包的发布信息
groupId
=
"com.ydl"
artifactId
=
"m-article-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'
implementation
'de.greenrobot:eventbus:2.4.0'
}
}
}
}
\ No newline at end of file
m-dynamic/build.gradle
View file @
01b3334b
...
...
@@ -29,7 +29,6 @@ android {
}
}
flavorDimensions
"versionCode"
//Flavor 维度信息
vectorDrawables
.
useSupportLibrary
=
true
}
...
...
@@ -40,16 +39,6 @@ android {
}
}
//前缀的名字
//resourcePrefix "dynamic_"
//Flavor 信息
publishNonDefault
true
productFlavors
{
ydl
{}
xlzx
{}
}
sourceSets
{
main
{
manifest
.
srcFile
'src/main/AndroidManifest.xml'
...
...
m-fm/build.gradle
View file @
01b3334b
...
...
@@ -20,16 +20,10 @@ android {
versionCode
1
versionName
"1.0"
multiDexEnabled
true
testInstrumentationRunner
'androidx.test.runner.AndroidJUnitRunner'
flavorDimensions
"versionCode"
}
lintOptions
{
abortOnError
false
}
buildTypes
{
release
{
minifyEnabled
false
...
...
@@ -37,13 +31,6 @@ android {
}
}
//Flavor 信息
publishNonDefault
true
productFlavors
{
ydl
{}
xlzx
{}
}
compileOptions
{
sourceCompatibility
1.8
targetCompatibility
1.8
...
...
m-muse/build.gradle
View file @
01b3334b
...
...
@@ -20,18 +20,10 @@ android {
versionCode
1
versionName
"1.0"
multiDexEnabled
true
testInstrumentationRunner
'androidx.test.runner.AndroidJUnitRunner'
flavorDimensions
"versionCode"
renderscriptTargetApi
19
renderscriptSupportModeEnabled
true
}
lintOptions
{
abortOnError
false
}
buildTypes
{
release
{
...
...
@@ -40,13 +32,6 @@ android {
}
}
//Flavor 信息
publishNonDefault
true
productFlavors
{
ydl
{}
xlzx
{}
}
compileOptions
{
sourceCompatibility
1.8
targetCompatibility
1.8
...
...
@@ -58,9 +43,6 @@ dependencies {
api
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
,
'*.aar'
])
implementation
'androidx.appcompat:appcompat:1.2.0'
testImplementation
'junit:junit:4.13.2'
androidTestImplementation
'androidx.test.ext:junit:1.1.2'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.3.0'
implementation
'com.github.weidongjian:androidWheelView:1.0.0'
implementation
'com.github.feeeei:CircleSeekbar:v1.1.2'
...
...
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