Skip to content

Commit 66a0fe2

Browse files
committed
Update dependencies, switch to jitpack, and lower min of lib to API 7
1 parent a4c4e20 commit 66a0fe2

6 files changed

Lines changed: 25 additions & 26 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android:
55
- tools
66

77
# The BuildTools version used by your project
8-
- build-tools-23.0.2
8+
- build-tools-23.0.3
99

1010
# The SDK version used to compile your project
1111
- android-23

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
# AdapterLayout
22
ViewGroup backed by RecyclerView.Adapter = magic
33

4-
[![Build Status](https://travis-ci.org/Commit451/AdapterLayout.svg?branch=master)](https://travis-ci.org/Commit451/AdapterLayout)
4+
[![Build Status](https://travis-ci.org/Commit451/AdapterLayout.svg?branch=master)](https://travis-ci.org/Commit451/AdapterLayout) [![](https://jitpack.io/v/Commit451/AdapterLayout.svg)](https://jitpack.io/#Commit451/AdapterLayout)
55

6-
# Gradle Dependency
7-
Easily reference the library in your Android projects using this dependency in your module's `build.gradle` file:
8-
```Gradle
6+
# Dependency
7+
```gradle
8+
allprojects {
9+
repositories {
10+
maven { url "https://jitpack.io" }
11+
}
12+
}
13+
```
14+
and within your application `build.gradle`
15+
16+
```gradle
917
dependencies {
10-
compile 'com.commit451:adapterlayout:1.0.1'
18+
compile 'com.github.Commit451:AdapterLayout:1.0.2'
1119
}
1220
```
1321

adapterlayout/build.gradle

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'com.novoda.bintray-release'
32

43
android {
54
compileSdkVersion 23
6-
buildToolsVersion "23.0.2"
5+
buildToolsVersion "23.0.3"
76

87
defaultConfig {
9-
minSdkVersion 15
8+
minSdkVersion 7
109
targetSdkVersion 23
1110
versionCode 1
1211
versionName "1.0"
@@ -21,15 +20,7 @@ android {
2120

2221
dependencies {
2322
compile fileTree(include: ['*.jar'], dir: 'libs')
24-
compile 'com.android.support:recyclerview-v7:23.1.1'
23+
compile 'com.android.support:recyclerview-v7:23.4.0'
2524
}
2625

27-
// ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false
28-
publish {
29-
userOrg = 'commit451'
30-
groupId = 'com.commit451'
31-
artifactId = 'adapterlayout'
32-
publishVersion = '1.0.1'
33-
desc = 'ViewGroup backed by RecyclerView.Adapter = magic'
34-
website = 'https://github.com/Commit451/AdapterLayout'
35-
}
26+
apply from: 'https://raw.githubusercontent.com/Commit451/gradle-android-javadocs/1.0.0/gradle-android-javadocs.gradle'

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 23
5-
buildToolsVersion "23.0.2"
5+
buildToolsVersion "23.0.3"
66

77
defaultConfig {
88
applicationId "com.commit451.adapterlayout.sample"
@@ -22,8 +22,8 @@ android {
2222
dependencies {
2323
compile fileTree(include: ['*.jar'], dir: 'libs')
2424
testCompile 'junit:junit:4.12'
25-
compile 'com.android.support:appcompat-v7:23.1.1'
26-
compile 'com.android.support:design:23.1.1'
25+
compile 'com.android.support:appcompat-v7:23.4.0'
26+
compile 'com.android.support:design:23.4.0'
2727
compile 'com.jakewharton:butterknife:7.0.1'
2828
compile "com.wefika:flowlayout:0.4.1"
2929
compile project(':adapterlayout')

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:1.5.0'
9-
classpath 'com.novoda:bintray-release:0.3.4'
8+
classpath 'com.android.tools.build:gradle:2.1.2'
9+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Oct 21 11:34:03 PDT 2015
1+
#Wed Jun 08 17:56:17 CDT 2016
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

0 commit comments

Comments
 (0)