Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Commit e8d1253

Browse files
authored
Merge pull request #17 from long1eu/master
Update to the new build tools
2 parents e8f6d6b + e47d228 commit e8d1253

5 files changed

Lines changed: 15 additions & 12 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ repositories {
1313
maven { url "https://jitpack.io" }
1414
}
1515
```
16+
[![](https://jitpack.io/v/q42/androidscrollingimageview.svg)](https://jitpack.io/#q42/androidscrollingimageview)
1617
*Step 2.* Add the dependency in the form
1718
```gradle
1819
dependencies {
19-
compile 'com.github.Q42:AndroidScrollingImageView:1.2'
20+
implementation 'com.github.Q42:AndroidScrollingImageView:1.3.2'
2021
}
2122
```
2223

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
buildscript {
44
repositories {
55
jcenter()
6+
google()
67
}
78
dependencies {
8-
classpath 'com.android.tools.build:gradle:1.2.3'
9+
classpath 'com.android.tools.build:gradle:3.0.1'
910
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
1011
}
1112
}
1213

1314
allprojects {
1415
repositories {
1516
jcenter()
17+
google()
1618
}
1719
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Apr 10 15:27:10 PDT 2013
1+
#Tue Nov 28 20:39:05 EET 2017
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.4-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

library/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'com.github.dcendents.android-maven'
2+
//apply plugin: 'com.github.dcendents.android-maven'
33

44
group = 'com.q42.android.scrollingimageview'
55

66
android {
7-
compileSdkVersion 21
8-
buildToolsVersion "21.1.2"
7+
compileSdkVersion 27
8+
buildToolsVersion "27.0.1"
99

1010
defaultConfig {
1111
minSdkVersion 16
12-
targetSdkVersion 22
12+
targetSdkVersion 27
1313
versionCode 1
1414
versionName "1.0"
1515
}

sampleapp/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 22
5-
buildToolsVersion "22.0.1"
4+
compileSdkVersion 27
5+
buildToolsVersion "27.0.1"
66

77
defaultConfig {
88
applicationId "scrollingimageview.android.q42.com.sampleapp"
99
minSdkVersion 16
10-
targetSdkVersion 22
10+
targetSdkVersion 27
1111
versionCode 1
1212
versionName "1.0"
1313
}
@@ -21,6 +21,6 @@ android {
2121

2222
dependencies {
2323
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
compile 'com.android.support:appcompat-v7:22.2.0'
24+
compile 'com.android.support:appcompat-v7:27.0.1'
2525
compile project(':library')
2626
}

0 commit comments

Comments
 (0)