fix bug of gradle

This commit is contained in:
unknown
2020-03-25 15:03:25 +08:00
parent b9213c3cb5
commit e9a6dd2bc4
2 changed files with 3 additions and 6 deletions

View File

@@ -109,16 +109,11 @@ dependencies {
implementation rootProject.ext.dependencies.moduleadcard
implementation rootProject.ext.dependencies.moduleonlinecar
implementation rootProject.ext.dependencies.moduleV2x,{
exclude group:'com.mogo.module.carchatting',module:'module-carchatting'
exclude group:'com.mogo.module.carchatting',module:'module-carchatting-provider'
}
implementation rootProject.ext.dependencies.moduleV2x
implementation rootProject.ext.dependencies.moduletanlu,{
exclude group:'com.mogo.module',module:'module-share'
}
implementation rootProject.ext.dependencies.mogomoduleauth
if (Boolean.valueOf(RELEASE)) {
api rootProject.ext.dependencies.modulemain
api rootProject.ext.dependencies.mogocommons

View File

@@ -1,6 +1,7 @@
package com.mogo.module.main;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
@@ -110,6 +111,7 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
@Override
protected void initViews() {
mCardsContainer = findViewById( R.id.module_main_id_cards_container );
mCardsContainer.setOrientation( OrientedViewPager.Orientation.HORIZONTAL );
mTransformer = new HorizentalStackTransformer( this );