Skip to content

Commit

Permalink
上传JitPack
Browse files Browse the repository at this point in the history
  • Loading branch information
milanxiaotiejiang committed Feb 22, 2019
1 parent caa36d7 commit 1c42b84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

[![](https://jitpack.io/v/milanxiaotiejiang/RobotLog.svg)](https://jitpack.io/#milanxiaotiejiang/RobotLog)

# 如何使用它
## Step 1.
先在 build.gradle(Project:XXXX) 的 repositories 添加 :
Expand Down
6 changes: 4 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
apply plugin: 'com.android.application'

apply plugin: 'com.github.dcendents.android-maven'

group='com.github.milanxiaotiejiang'

android {
compileSdkVersion 28
defaultConfig {
Expand All @@ -24,6 +28,4 @@ dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:28.0.0'
implementation project(':LogLibrary')

// implementation 'com.github.milanxiaotiejiang:robot_log:1.0.0'
}
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ buildscript {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.1'

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"

classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -21,7 +24,9 @@ allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
// maven { url 'https://jitpack.io' }
maven { url "https://jitpack.io" }

}
}

Expand Down

0 comments on commit 1c42b84

Please sign in to comment.