Skip to content

Commit

Permalink
完善代码
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchong211 committed Dec 26, 2021
1 parent 2fda8d1 commit 73d63f7
Show file tree
Hide file tree
Showing 47 changed files with 67 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Common/AppStatusLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apply plugin: 'com.android.library'

apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.pedaily.yc.ycdialoglib.toast.ToastUtils;
import com.yc.configlayer.constant.Constant;
import com.yc.toolutils.activity.ActivityManager;
import com.yc.library.BuildConfig;
import com.yc.library.base.callback.LogCallback;

import cn.ycbjie.ycthreadpoollib.PoolThread;
Expand Down Expand Up @@ -93,12 +92,10 @@ public void closeExecutor(){


private void initARouter(){
if (BuildConfig.IS_DEBUG) {
//打印日志
ARouter.openLog();
//开启调试模式(如果在InstantRun模式下运行,必须开启调试模式!线上版本需要关闭,否则有安全风险)
ARouter.openDebug();
}
//打印日志
ARouter.openLog();
//开启调试模式(如果在InstantRun模式下运行,必须开启调试模式!线上版本需要关闭,否则有安全风险)
ARouter.openDebug();
//推荐在Application中初始化
ARouter.init(Utils.getApp());
}
Expand Down
3 changes: 3 additions & 0 deletions Common/ToolUtilsLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'


android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
3 changes: 3 additions & 0 deletions Server/NfcServer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.library'
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
4 changes: 4 additions & 0 deletions Server/ShareServer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
apply plugin: 'com.android.library'
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'


android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
4 changes: 3 additions & 1 deletion Server/XlogServer/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
apply plugin: 'com.android.library'

apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
2 changes: 2 additions & 0 deletions Tool/AnimatorToolLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
2 changes: 2 additions & 0 deletions Tool/CountTimerLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
2 changes: 2 additions & 0 deletions Tool/SerialTaskLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
2 changes: 2 additions & 0 deletions Tool/SocketIoLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
2 changes: 2 additions & 0 deletions Tool/WebSocketLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
3 changes: 3 additions & 0 deletions Tool/ZxingServerLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.library'
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.library'
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down Expand Up @@ -26,6 +29,6 @@ android {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
api(rootProject.ext.dependencies["appcompat-v7"])
api(rootProject.ext.dependencies["annotations"])
implementation(rootProject.ext.dependencies["appcompat-v7"])
implementation(rootProject.ext.dependencies["annotations"])
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions Widget/FragmentLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ plugins {
id 'com.android.library'
}
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
3 changes: 3 additions & 0 deletions Widget/PhotoWidget/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
apply plugin: 'com.android.library'
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'

android {
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
Expand Down
19 changes: 12 additions & 7 deletions Widget/ZoomImageLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
apply plugin: 'com.android.library'
apply from: rootProject.projectDir.absolutePath + "/yc.gradle"
//迁移到jitpack
apply plugin: 'com.github.dcendents.android-maven'


android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
compileSdkVersion rootProject.ext.android["compileSdkVersion"]
buildToolsVersion rootProject.ext.android["buildToolsVersion"]

defaultConfig {
minSdkVersion 15
targetSdkVersion 28
versionCode 15
versionName "1.1.5"
minSdkVersion rootProject.ext.android["minSdkVersion"]
targetSdkVersion rootProject.ext.android["targetSdkVersion"]
versionCode rootProject.ext.android["versionCode"]
versionName rootProject.ext.android["versionName"]
}

buildTypes {
Expand All @@ -22,7 +26,8 @@ android {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
api(rootProject.ext.dependencies["appcompat-v7"])
api(rootProject.ext.dependencies["annotations"])
}


Expand Down
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ dependencies {
implementation project(path: ':ZxingServerLib')
implementation project(path: ':NfcServer')
implementation project(path: ':LongevityLib')

implementation project(path: ':BannerViewLib')
implementation project(path: ':BlurViewLib')
}


Expand Down
6 changes: 3 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ project(':ToolUtilsLib').projectDir = new File('Common/ToolUtilsLib')


/* +++++++++ 框架view基础组件层 +++++++++ */
include ':BannerWidget', ':PhotoWidget', ':CustomWidget', ':BlurView',
include ':BannerViewLib', ':PhotoWidget', ':CustomWidget', ':BlurViewLib',
':FragmentLib',':WidgetViewLib',':ZoomImageLib', ':LargeImageLib',
':SwipeBackLib'
project(':BannerWidget').projectDir = new File('Widget/BannerWidget')
project(':BannerViewLib').projectDir = new File('Widget/BannerViewLib')
project(':PhotoWidget').projectDir = new File('Widget/PhotoWidget')
project(':CustomWidget').projectDir = new File('Widget/CustomWidget')
project(':BlurView').projectDir = new File('Widget/BlurView')
project(':BlurViewLib').projectDir = new File('Widget/BlurViewLib')
project(':FragmentLib').projectDir = new File('Widget/FragmentLib')
project(':WidgetViewLib').projectDir = new File('Widget/WidgetViewLib')
project(':ZoomImageLib').projectDir = new File('Widget/ZoomImageLib')
Expand Down

0 comments on commit 73d63f7

Please sign in to comment.