Skip to content

Commit 16ab133

Browse files
committed
完善库迁移
1 parent b824ac8 commit 16ab133

File tree

9 files changed

+305
-19
lines changed

9 files changed

+305
-19
lines changed

MonitorAliveLib/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
id 'com.android.library'
33
}
44
apply from: rootProject.projectDir.absolutePath + "/app.gradle"
5+
//迁移到jitpack
6+
apply plugin: 'com.github.dcendents.android-maven'
57

68
android {
79
compileSdkVersion project.ext.androidCompileSdkVersion

MonitorAnrLib/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
id 'com.android.library'
33
}
44
apply from: rootProject.projectDir.absolutePath + "/app.gradle"
5+
//迁移到jitpack
6+
apply plugin: 'com.github.dcendents.android-maven'
57

68
android {
79
compileSdkVersion project.ext.androidCompileSdkVersion

MonitorCatonLib/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ plugins {
22
id 'com.android.library'
33
}
44
apply from: rootProject.projectDir.absolutePath + "/app.gradle"
5+
//迁移到jitpack
6+
apply plugin: 'com.github.dcendents.android-maven'
7+
58

69
android {
710
compileSdkVersion project.ext.androidCompileSdkVersion

MonitorCrashLib/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
apply plugin: 'com.android.library'
22
apply from: rootProject.projectDir.absolutePath + "/app.gradle"
3+
//迁移到jitpack
4+
apply plugin: 'com.github.dcendents.android-maven'
5+
36

47
android {
58
compileSdkVersion project.ext.androidCompileSdkVersion

MonitorFileLib/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
id 'com.android.library'
33
}
44
apply from: rootProject.projectDir.absolutePath + "/app.gradle"
5+
//迁移到jitpack
6+
apply plugin: 'com.github.dcendents.android-maven'
57

68
android {
79
compileSdkVersion project.ext.androidCompileSdkVersion

MonitorNetLib/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ plugins {
22
id 'com.android.library'
33
}
44
apply from: rootProject.projectDir.absolutePath + "/app.gradle"
5+
//迁移到jitpack
6+
apply plugin: 'com.github.dcendents.android-maven'
57

68
android {
79
compileSdkVersion project.ext.androidCompileSdkVersion

README.md

Lines changed: 288 additions & 18 deletions
Large diffs are not rendered by default.

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply from: rootProject.projectDir.absolutePath + "/app.gradle"
33

44
android {
55
compileSdkVersion project.ext.androidCompileSdkVersion
6-
buildToolsVersion project.ext.androidBuildToolsVersion
6+
//buildToolsVersion project.ext.androidBuildToolsVersion
77
defaultConfig {
88
applicationId "com.yc.ycandroidtool"
99
minSdkVersion project.ext.androidMinSdkVersion

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ buildscript {
77
}
88
dependencies {
99
classpath "com.android.tools.build:gradle:3.2.1"
10+
//jitpack
11+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
1012
}
1113
}
1214

0 commit comments

Comments
 (0)