增加了直播模块

This commit is contained in:
董宏宇
2021-02-02 15:17:34 +08:00
parent ceb4c92f93
commit ca397a4400
10 changed files with 66 additions and 2 deletions

2
.idea/gradle.xml generated
View File

@@ -14,6 +14,7 @@
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/foudations" />
<option value="$PROJECT_DIR$/foudations/mogo-httpdns" />
<option value="$PROJECT_DIR$/foudations/mogo-live" />
<option value="$PROJECT_DIR$/foudations/mogo-network" />
<option value="$PROJECT_DIR$/foudations/mogo-passport" />
<option value="$PROJECT_DIR$/foudations/mogo-socket" />
@@ -23,7 +24,6 @@
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
<option name="useQualifiedModuleNames" value="true" />
</GradleProjectSettings>
</option>
</component>

View File

@@ -9,7 +9,7 @@ ext {
]
dependencies = [
// androidx
androidxappcompat : "androidx.appcompat:appcompat:1.1.0",
androidxappcompat : "androidx.appcompat:appcompat:1.2.0",
androidxccorektx : "androidx.core:core-ktx:1.3.2",
androidxconstraintlayout : "androidx.constraintlayout:constraintlayout:1.1.3",
boostmultidex : "com.bytedance.boost_multidex:boost_multidex:1.0.1",

1
foudations/mogo-live/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/build

View File

@@ -0,0 +1,31 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.android.compileSdkVersion
defaultConfig {
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
versionCode 1
versionName "${MOGO_LIVE_VERSION}"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation rootProject.ext.dependencies.androidxappcompat
}
apply from: new File(rootProject.rootDir, "gradle/upload.gradle").toString()

View File

View File

@@ -0,0 +1,4 @@
GROUP=com.mogo.cloud
POM_ARTIFACT_ID=livee
VERSION_CODE=1
VERSION_NAME=1.0.0-SNAPSHOT

21
foudations/mogo-live/proguard-rules.pro vendored Normal file
View File

@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

View File

@@ -0,0 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mogo.cloud.live">
/
</manifest>

View File

@@ -31,3 +31,4 @@ MOGO_PASSPORT_VERSION=1.0.8-SNAPSHOT
MOGO_SOCKET_VERSION=1.0.8-SNAPSHOT
MOGO_REALTIME_VERSION=1.0.8-SNAPSHOT
MOGO_TANLU_VERSION=1.0.8-SNAPSHOT
MOGO_LIVE_VERSION=1.0.8-SNAPSHOT

View File

@@ -1,3 +1,4 @@
include ':foudations:mogo-live'
include ':foudations:mogo-socket'
include ':modules:mogo-realtime'
include ':modules:mogo-tanlu'