Skip to content

Commit 43c935c

Browse files
committed
update android gradle version compatibility
1 parent 4be00d9 commit 43c935c

5 files changed

Lines changed: 20 additions & 17 deletions

File tree

app/build.gradle

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

33
android {
4-
compileSdkVersion 25
5-
buildToolsVersion "25.0.3"
4+
compileSdkVersion 27
5+
buildToolsVersion '27.0.3'
66

77
defaultConfig {
88
applicationId "com.gigamole.sample"
9-
minSdkVersion 11
10-
targetSdkVersion 25
9+
minSdkVersion 14
10+
targetSdkVersion 27
1111
versionCode 1
1212
versionName "1.0"
1313
}
@@ -20,7 +20,7 @@ android {
2020
}
2121

2222
dependencies {
23-
compile fileTree(dir: 'libs', include: ['*.jar'])
24-
compile project(':navigationtabstrip')
25-
compile 'com.android.support:appcompat-v7:25.3.1'
23+
implementation fileTree(dir: 'libs', include: ['*.jar'])
24+
implementation project(':navigationtabstrip')
25+
implementation 'com.android.support:appcompat-v7:27.1.1'
2626
}

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,18 @@
33
buildscript {
44
repositories {
55
jcenter()
6+
google()
67
}
78
dependencies {
89
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
9-
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1"
10-
classpath 'com.android.tools.build:gradle:2.3.2'
10+
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
11+
classpath 'com.android.tools.build:gradle:3.1.2'
1112
}
1213
}
1314

1415
allprojects {
1516
repositories {
1617
jcenter()
18+
google()
1719
}
1820
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Jun 01 21:56:10 EEST 2017
1+
#Fri Apr 27 02:54:55 BRT 2018
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-3.3-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

navigationtabstrip/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ apply plugin: 'maven'
2222
version = "1.0.4"
2323

2424
android {
25-
compileSdkVersion 25
26-
buildToolsVersion "25.0.3"
25+
compileSdkVersion 27
26+
buildToolsVersion '27.0.3'
2727

2828
defaultConfig {
29-
minSdkVersion 11
30-
targetSdkVersion 25
29+
minSdkVersion 14
30+
targetSdkVersion 27
3131
versionCode 1
3232
versionName "1.0.4"
3333
}
@@ -40,8 +40,8 @@ android {
4040
}
4141

4242
dependencies {
43-
compile fileTree(dir: 'libs', include: ['*.jar'])
44-
compile 'com.android.support:appcompat-v7:25.3.1'
43+
implementation fileTree(dir: 'libs', include: ['*.jar'])
44+
implementation 'com.android.support:appcompat-v7:27.1.1'
4545
}
4646

4747
def siteUrl = 'https://github.com/DevLight-Mobile-Agency/NavigationTabStrip'

navigationtabstrip/src/main/res/values/attrs.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<attr name="nts_weight" format="dimension"/>
88
<attr name="nts_factor" format="float"/>
99
<attr name="nts_titles" format="reference"/>
10+
<attr name="nts_bold" value="true"/>
1011

1112
<attr name="nts_type" format="enum">
1213
<enum name="line" value="0"/>

0 commit comments

Comments
 (0)