Skip to content

Commit 03970e2

Browse files
author
yangyufei
committed
add jitpack
1 parent f9eaa2d commit 03970e2

3 files changed

Lines changed: 16 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,18 @@ mNestedTouchScrollingLayout.registerNestScrollChildCallback(new NestedTouchScrol
165165
- [ ] add blur cover.
166166

167167
### Usage
168+
方式 1:
169+
``` Gradle
170+
repositories {
171+
// ...
172+
maven { url "https://jitpack.io" }
173+
}
174+
175+
dependencies {
176+
implementation 'com.github.JarvisGG:NestedTouchScrollingLayout:1.2.3'
177+
}
178+
```
179+
方式 2:
168180
``` Gradle
169181
repositories {
170182
// ...

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ dependencies {
3333

3434

3535
api project(':library')
36-
// implementation('com.github.JarvisGG:NestedTouchScrollingLayout:v1.2.2')
37-
// implementation 'com.jarvis.library.NestedTouchScrollingLayout:library:1.2.2'
36+
// implementation('com.github.JarvisGG:NestedTouchScrollingLayout:1.2.3')
37+
// implementation 'com.jarvis.library.NestedTouchScrollingLayout:library:1.2.3'
3838
}

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdkVersion 23
1212
targetSdkVersion 27
1313
versionCode 1
14-
versionName "1.2.2"
14+
versionName "1.2.3"
1515

1616
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1717

@@ -40,7 +40,7 @@ dependencies {
4040
}
4141

4242
group = "com.jarvis.library.NestedTouchScrollingLayout"
43-
version = "1.2.2"
43+
version = "1.2.3"
4444

4545

4646
task sourcesJar(type: Jar) {

0 commit comments

Comments
 (0)