Skip to content

Commit

Permalink
api与action合并
Browse files Browse the repository at this point in the history
  • Loading branch information
K0170016 authored and K0170016 committed Jun 24, 2019
1 parent 0612617 commit d2fcbf2
Show file tree
Hide file tree
Showing 118 changed files with 33 additions and 3,662 deletions.
2 changes: 1 addition & 1 deletion depend_common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ repositories {
//通用的依赖库
dependencies {
//内核
implementation "com.github.coolfire2015.RxFluxArchitecture:core-arch:${RX_FLUX_ARCHITECTURE}"
implementation project(':core-arch')
implementation "com.github.coolfire2015:RxFluxUtils:${RX_FLUX_UTILS}"
implementation "com.github.coolfire2015:RxFluxImage:${RX_FLUX_IMAGE}"
//X-Core
Expand Down
7 changes: 6 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ COMPILE_SDK_VERSION=28
BUILD_GRADLE=3.4.1
GRADLE_VERSION=5.1.1
#RxFluxArchitecture
RX_FLUX_ARCHITECTURE=1.0.8
RX_FLUX_ARCHITECTURE=1.0.7
RX_FLUX_EVENTBUS=1.0.0
RX_FLUX_UTILS=1.0.0
RX_FLUX_IMAGE=1.0.0
Expand Down Expand Up @@ -190,3 +190,8 @@ GUAVA_VERSION=27.0.1-android
JAVA_COMMON=2.3.1
JAVAPOET_VERSION=1.9.0
AUTO_SERVICE_VERSION=1.0-rc3
STORE_DEBUG_FILE=../KeyDebug.keystore
STORE_RELEASE_FILE=../KeyRelease.jks
STORE_PASSWORD=#@HJ*Sasd23
KEY_ALIAS=RxArch
KEY_PASSWORD=H3n23*hwdsf
16 changes: 5 additions & 11 deletions module-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
apply plugin: 'com.android.application'
apply from: rootProject.file('depend_java.gradle')

//获取local.Properties
File localPropFile = project.rootProject.file("local.properties")
Properties localProperties = new Properties()
localProperties.load(localPropFile.newDataInputStream())

android {
//签名配置,自定义,用在defaultConfig中
signingConfigs {
debug {
storeFile file(localProperties.getProperty("STORE_DEBUG_FILE"))
storeFile file(STORE_DEBUG_FILE)
}
release {
storeFile file(localProperties.getProperty("STORE_RELEASE_FILE"))
storePassword localProperties.getProperty("STORE_PASSWORD")
keyAlias localProperties.getProperty("KEY_ALIAS")
keyPassword localProperties.getProperty("KEY_PASSWORD")
storeFile file(STORE_RELEASE_FILE)
storePassword STORE_PASSWORD
keyAlias KEY_ALIAS
keyPassword KEY_PASSWORD
}
}
//默认配置
Expand Down Expand Up @@ -96,5 +91,4 @@ dependencies {
implementation project(':core-common')
implementation project(':module-gan')
implementation project(':module-wan')
implementation project(':module-github')
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import com.huyingbao.core.common.module.CommonModule;
import com.huyingbao.module.gan.module.GanAppModule;
import com.huyingbao.module.github.module.GithubAppModule;
import com.huyingbao.module.wan.module.WanAppModule;

import javax.inject.Singleton;
Expand Down Expand Up @@ -38,7 +37,6 @@
@Component(modules = {
GanAppModule.class,//模块module
WanAppModule.class,//模块module
GithubAppModule.class,//模块module
CommonModule.class,//通用module
AndroidInjectionModule.class})
public interface SimpleComponent extends AndroidInjector<SimpleApplication> {
Expand Down
15 changes: 5 additions & 10 deletions module-gan/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,17 @@ apply plugin: isModuleAsApp.toBoolean() ? 'com.android.application' : 'com.andro
apply plugin: 'com.jakewharton.butterknife'
apply from: rootProject.file('depend_java.gradle')

//获取local.Properties
File localPropFile = project.rootProject.file("local.properties")
Properties localProperties = new Properties()
localProperties.load(localPropFile.newDataInputStream())

android {
//签名配置,自定义,用在defaultConfig中
signingConfigs {
debug {
storeFile file(localProperties.getProperty("STORE_DEBUG_FILE"))
storeFile file(STORE_DEBUG_FILE)
}
release {
storeFile file(localProperties.getProperty("STORE_RELEASE_FILE"))
storePassword localProperties.getProperty("STORE_PASSWORD")
keyAlias localProperties.getProperty("KEY_ALIAS")
keyPassword localProperties.getProperty("KEY_PASSWORD")
storeFile file(STORE_RELEASE_FILE)
storePassword STORE_PASSWORD
keyAlias KEY_ALIAS
keyPassword KEY_PASSWORD
}
}
//默认配置
Expand Down
7 changes: 6 additions & 1 deletion module-gan/src/library/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<application
android:allowBackup="false"
android:supportsRtl="true">
<activity android:name="com.huyingbao.module.gan.ui.random.view.RandomActivity" />
<activity android:name="com.huyingbao.module.gan.ui.random.view.RandomActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
1 change: 0 additions & 1 deletion module-github/.gitignore

This file was deleted.

109 changes: 0 additions & 109 deletions module-github/build.gradle

This file was deleted.

58 changes: 0 additions & 58 deletions module-github/proguard-rules.pro

This file was deleted.

33 changes: 0 additions & 33 deletions module-github/src/app/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions module-github/src/library/AndroidManifest.xml

This file was deleted.

Loading

0 comments on commit d2fcbf2

Please sign in to comment.