diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 1a0aaec..dcd727a 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -14,6 +14,7 @@ diff --git a/config.gradle b/config.gradle index 91150b8..1b9ae0e 100644 --- a/config.gradle +++ b/config.gradle @@ -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", diff --git a/foudations/mogo-live/.gitignore b/foudations/mogo-live/.gitignore new file mode 100644 index 0000000..42afabf --- /dev/null +++ b/foudations/mogo-live/.gitignore @@ -0,0 +1 @@ +/build \ No newline at end of file diff --git a/foudations/mogo-live/build.gradle b/foudations/mogo-live/build.gradle new file mode 100644 index 0000000..308d24b --- /dev/null +++ b/foudations/mogo-live/build.gradle @@ -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() \ No newline at end of file diff --git a/foudations/mogo-live/consumer-rules.pro b/foudations/mogo-live/consumer-rules.pro new file mode 100644 index 0000000..e69de29 diff --git a/foudations/mogo-live/gradle.properties b/foudations/mogo-live/gradle.properties new file mode 100644 index 0000000..84d1a8c --- /dev/null +++ b/foudations/mogo-live/gradle.properties @@ -0,0 +1,4 @@ +GROUP=com.mogo.cloud +POM_ARTIFACT_ID=livee +VERSION_CODE=1 +VERSION_NAME=1.0.0-SNAPSHOT \ No newline at end of file diff --git a/foudations/mogo-live/proguard-rules.pro b/foudations/mogo-live/proguard-rules.pro new file mode 100644 index 0000000..481bb43 --- /dev/null +++ b/foudations/mogo-live/proguard-rules.pro @@ -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 \ No newline at end of file diff --git a/foudations/mogo-live/src/main/AndroidManifest.xml b/foudations/mogo-live/src/main/AndroidManifest.xml new file mode 100644 index 0000000..7639097 --- /dev/null +++ b/foudations/mogo-live/src/main/AndroidManifest.xml @@ -0,0 +1,5 @@ + + + / + \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index d0e7864..cfe0094 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/settings.gradle b/settings.gradle index 19bd551..3df0b58 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,4 @@ +include ':foudations:mogo-live' include ':foudations:mogo-socket' include ':modules:mogo-realtime' include ':modules:mogo-tanlu'