Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Relex committed Nov 6, 2018
1 parent 3d6554d commit 0815598
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .idea/vcs.xml

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

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This library provides some useful classes for RecyclerView.

```groovy
dependencies {
compile 'me.relex:recyclerpager:1.0.1'
compile 'me.relex:recyclerpager:1.0.3'
}
```

Expand Down
2 changes: 1 addition & 1 deletion SmartTabLayout2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ android {
}

dependencies {
implementation "me.relex:recyclerpager:1.0.1"
implementation "me.relex:recyclerpager:1.0.3"
api project(':SmartTabLayout')
}
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ android {
dependencies {
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation "me.relex:recyclerpager:1.0.1"
implementation "me.relex:recyclerpager:1.0.3"
implementation project(':SmartTabLayout2')
}
6 changes: 3 additions & 3 deletions recyclerpager/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apply plugin: 'com.android.library'

version = "1.0.1"
version = "1.0.3"

android {
compileSdkVersion 28

defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 101
versionName "1.0.1"
versionCode 103
versionName "1.0.3"
}

buildTypes {
Expand Down
21 changes: 19 additions & 2 deletions recyclerpager/upload-jcenter.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,31 @@ install {
}
}
}

task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
task javadoc(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
android.libraryVariants.all { variant ->
if (variant.name == 'release') {
owner.classpath += variant.javaCompiler.classpath
}
}
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
options {
encoding 'utf-8'
charSet 'utf-8'
}
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}

artifacts {
archives sourcesJar
archives javadocJar
}

bintray {
Expand Down

0 comments on commit 0815598

Please sign in to comment.