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
70c68386
Commit
70c68386
authored
Nov 09, 2019
by
洪国微
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
74f4e08b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
62 deletions
+16
-62
config.gradle
config.gradle
+1
-1
build.gradle
m-audioim/build.gradle
+1
-5
gradle.properties
m-audioim/gradle.properties
+3
-0
modular.gradle
m-audioim/modular.gradle
+0
-37
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+2
-0
IAVRouter.kt
m-audioim/src/main/modular_api/com/ydl/audioim/api/IAVRouter.kt
+0
-15
build.gradle
m-confide/build.gradle
+7
-2
modular.gradle
m-confide/modular.gradle
+2
-2
No files found.
config.gradle
View file @
70c68386
ext
{
kotlin_version
=
'1.3.21'
dev_mode
=
tru
e
dev_mode
=
fals
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
m-audioim/build.gradle
View file @
70c68386
...
...
@@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'kotlin-kapt'
apply
from:
"../maven_push.gradle"
kapt
{
arguments
{
...
...
@@ -43,11 +44,6 @@ android {
buildConfigField
"String"
,
"AGORA_APPID"
,
'"13b1536698f64905a1e7e5bb978ba821"'
}
}
publishNonDefault
true
productFlavors
{
ydl
{}
xlzx
{}
}
}
...
...
m-audioim/gradle.properties
0 → 100644
View file @
70c68386
IS_PUBLISH
=
true
VERSION_NAME
=
0.0.1
\ No newline at end of file
m-audioim/modular.gradle
deleted
100644 → 0
View file @
74f4e08b
modular
{
packageName
"com.ydl.audioim"
// 模块发布需要的参数
publish
{
modules
{
xlzx
{
//发布信息 module/api 通用
groupId
=
"com.ydl"
artifactId
=
"m-audioim-module-xlzx"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.1"
}
ydl
{
//发布信息 module/api 通用
groupId
=
"com.ydl"
artifactId
=
"m-audioim-module-ydl"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.1"
}
}
api
{
//发布信息 module/api 通用
groupId
=
"com.ydl"
artifactId
=
"m-audioim-api"
// version = "0.0.1"
// 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-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
70c68386
...
...
@@ -491,6 +491,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
/**
* 请求权限
*/
@SuppressLint
(
"CheckResult"
)
private
fun
requestPermission
()
{
val
rxPermissions
=
RxPermissions
(
this
)
rxPermissions
.
requestEach
(
Manifest
.
permission
.
RECORD_AUDIO
)
...
...
@@ -510,6 +511,7 @@ class AudioHomeActivity : BaseMvpActivity<IAudioHomeActivityContract.View, IAudi
}
}
@SuppressLint
(
"CheckResult"
)
private
fun
init
()
{
wave_view
.
start
()
//初始化声网
...
...
m-audioim/src/main/modular_api/com/ydl/audioim/api/IAVRouter.kt
deleted
100644 → 0
View file @
74f4e08b
package
com.ydl.audioim.api
/**
* Created by hgw on 2018/5/3.
*/
interface
IAVRouter
{
/**
* 登录agora
*/
fun
loginAgora
(
userId
:
String
?)
}
\ No newline at end of file
m-confide/build.gradle
View file @
70c68386
...
...
@@ -84,10 +84,15 @@ dependencies {
implementation
'com.alibaba:fastjson:1.2.38'
api
project
(
':m-audioim'
)
// implementation project(":ydl-platform")
// api project(':m-audioim')
api
(
'com.ydl:m-audioim:0.0.1@aar'
){
transitive
=
true
}
implementation
'com.ydl:router:1.0.0-SNAPSHOT@aar'
// implementation project(":ydl-platform")
implementation
(
'com.ydl:ydl-platform:0.0.12@aar'
)
{
transitive
=
true
// exclude group: 'com.ydl', module: 'ydl-utils'
...
...
m-confide/modular.gradle
View file @
70c68386
...
...
@@ -16,7 +16,7 @@ modular {
groupId
=
"com.ydl"
artifactId
=
"m-confide-module-ydl"
// 上报的业务模块 aar 包的版本号
version
=
"0.0.
1
"
version
=
"0.0.
4
"
}
}
...
...
@@ -24,7 +24,7 @@ modular {
//发布信息 module/api 通用
groupId
=
"com.ydl"
artifactId
=
"m-confide-api"
//
version = "0.0.1"
//
version = "0.0.1"
// API 层打包时需要引入的依赖
apiDependencies
{
implementation
"com.google.code.gson:gson:2.8.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