Skip to content

Commit

Permalink
update android gradle version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tucomel committed Apr 27, 2018
1 parent 4be00d9 commit 43c935c
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
14 changes: 7 additions & 7 deletions app/build.gradle
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 27
buildToolsVersion '27.0.3'

defaultConfig {
applicationId "com.gigamole.sample"
minSdkVersion 11
targetSdkVersion 25
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
Expand All @@ -20,7 +20,7 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':navigationtabstrip')
compile 'com.android.support:appcompat-v7:25.3.1'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(':navigationtabstrip')
implementation 'com.android.support:appcompat-v7:27.1.1'
}
6 changes: 4 additions & 2 deletions build.gradle
Expand Up @@ -3,16 +3,18 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.1"
classpath 'com.android.tools.build:gradle:2.3.2'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3"
classpath 'com.android.tools.build:gradle:3.1.2'
}
}

allprojects {
repositories {
jcenter()
google()
}
}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Thu Jun 01 21:56:10 EEST 2017
#Fri Apr 27 02:54:55 BRT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
12 changes: 6 additions & 6 deletions navigationtabstrip/build.gradle
Expand Up @@ -22,12 +22,12 @@ apply plugin: 'maven'
version = "1.0.4"

android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
compileSdkVersion 27
buildToolsVersion '27.0.3'

defaultConfig {
minSdkVersion 11
targetSdkVersion 25
minSdkVersion 14
targetSdkVersion 27
versionCode 1
versionName "1.0.4"
}
Expand All @@ -40,8 +40,8 @@ android {
}

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

def siteUrl = 'https://github.com/DevLight-Mobile-Agency/NavigationTabStrip'
Expand Down
1 change: 1 addition & 0 deletions navigationtabstrip/src/main/res/values/attrs.xml
Expand Up @@ -7,6 +7,7 @@
<attr name="nts_weight" format="dimension"/>
<attr name="nts_factor" format="float"/>
<attr name="nts_titles" format="reference"/>
<attr name="nts_bold" value="true"/>

<attr name="nts_type" format="enum">
<enum name="line" value="0"/>
Expand Down

0 comments on commit 43c935c

Please sign in to comment.